pkgsrc/graphics/openexr/patches/patch-aa
adam e176a4a6c5 Changes 2.2.0:
* DreamWorks Lossy Compression A new high quality, high performance lossy compression codec contributed by DreamWorks Animation. This codec allows control over variable lossiness to balance visual quality and file size. This contribution also includes performance improvements that speed up the PIZ codec.
* IlmImfUtil A new library intended to aid in development of image file manipulation utilities that support the many types of OpenEXR images.
2014-08-11 19:42:33 +00:00

88 lines
3 KiB
Text

$NetBSD: patch-aa,v 1.9 2014/08/11 19:42:46 adam Exp $
Shell portability fix: see
https://savannah.nongnu.org/bugs/index.php?22222
--- configure.orig 2014-08-10 04:48:26.000000000 +0000
+++ configure
@@ -15660,7 +15660,7 @@ else
fi
-if test x$PKG_CONFIG == xno && test "x${multithread}" != xno ; then
+if test x$PKG_CONFIG = xno && test "x${multithread}" != xno ; then
@@ -17631,7 +17631,7 @@ fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ $as_echo "$as_me:$LINENO: result: $gcc_inline_asm_avx" >&5
$as_echo "$gcc_inline_asm_avx" >&6; }
-if test "x${gcc_inline_asm_avx}" == xyes ; then
+if test "x${gcc_inline_asm_avx}" = xyes ; then
cat >>confdefs.h <<\_ACEOF
#define OPENEXR_IMF_HAVE_GCC_INLINE_ASM_AVX 1
_ACEOF
@@ -17689,7 +17689,7 @@ fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ $as_echo "$as_me:$LINENO: result: $sysconf_nproc" >&5
$as_echo "$sysconf_nproc" >&6; }
-if test "x${sysconf_nproc}" == xyes ; then
+if test "x${sysconf_nproc}" = xyes ; then
cat >>confdefs.h <<\_ACEOF
#define OPENEXR_IMF_HAVE_SYSCONF_NPROCESSORS_ONLN 1
_ACEOF
@@ -17816,7 +17816,7 @@ LIB_SUFFIX=""
lib_suffix_valid="no"
lib_namespace="Imf"
-if test "x${library_namespace_versioning}" == xyes ; then
+if test "x${library_namespace_versioning}" = xyes ; then
cat >>confdefs.h <<_ACEOF
#define OPENEXR_IMF_INTERNAL_NAMESPACE Imf_${OPENEXR_VERSION_API}
_ACEOF
@@ -17829,7 +17829,7 @@ _ACEOF
lib_namespace="Imf_${OPENEXR_VERSION_API}"
LIB_SUFFIX="${OPENEXR_VERSION_API}"
lib_suffix_valid="yes"
-elif test "x${library_namespace_versioning}" == xno ; then
+elif test "x${library_namespace_versioning}" = xno ; then
cat >>confdefs.h <<_ACEOF
#define OPENEXR_IMF_INTERNAL_NAMESPACE Imf
_ACEOF
@@ -17852,7 +17852,7 @@ _ACEOF
fi
-if test "x${lib_suffix_valid}" == xyes ; then
+if test "x${lib_suffix_valid}" = xyes ; then
LIB_SUFFIX_DASH="-${LIB_SUFFIX}"
if true; then
@@ -17887,7 +17887,7 @@ else
fi
-if test "x${custom_usr_namespace}" == xyes ; then
+if test "x${custom_usr_namespace}" = xyes ; then
{ $as_echo "$as_me:$LINENO: WARNING: Enabling 'custom user namespace' requires an additional argument, reverting to 'Imf'" >&5
$as_echo "$as_me: WARNING: Enabling 'custom user namespace' requires an additional argument, reverting to 'Imf'" >&2;}
cat >>confdefs.h <<_ACEOF
@@ -17895,7 +17895,7 @@ $as_echo "$as_me: WARNING: Enabling 'cus
_ACEOF
usr_namespace="Imf"
-elif test "x${custom_usr_namespace}" == xno ; then
+elif test "x${custom_usr_namespace}" = xno ; then
cat >>confdefs.h <<_ACEOF
#define OPENEXR_IMF_NAMESPACE Imf
_ACEOF
@@ -20626,7 +20628,7 @@ enable large stack optimizations
internal library namespace $lib_namespace
user-client namespace $usr_namespace" >&6; }
-if test "x$build_osxuniversal" == xyes; then
+if test "x$build_osxuniversal" = xyes; then
{ $as_echo "$as_me:$LINENO: result:
build OS X universal binaries $build_osxuniversal" >&5
$as_echo "