pkgsrc/graphics/openexr/patches/patch-configure
adam abecd6376d ilmbase/openexr: updated to 2.3.0
OpenEXR v2.3.0 has been released and is available for download.

Features/Improvements:
ThreadPool overhead improvements, enable custom thread pool to be registered via ThreadPoolProvider class
Fixes to enable custom namespaces for Iex, Imf
Improve read performance for deep/zipped data, and SIMD-accelerated uncompress support
Added rawPixelDataToBuffer() function for access to compressed scanlines
Iex::BaseExc no longer derived from std::string.
Imath throw() specifiers removed
Initial Support for Python 3

Bugs:
25+ various bug fixes (see detailed Release Notes for the full list)

Build Fixes:
Various fixes to the cmake and autoconf build infrastructures
Various changes to support compiling for C++11 / C++14 / C++17 and GCC 6.3.1
Various fixes to address Windows build issues
60+ total build-related fixes (see detailed Release Notes for the full list)
2018-10-02 12:05:35 +00:00

119 lines
4.2 KiB
Text

$NetBSD: patch-configure,v 1.1 2018/10/02 12:05:35 adam Exp $
Portability fixes.
--- configure.orig 2018-08-10 01:37:40.000000000 +0000
+++ configure
@@ -15910,7 +15910,7 @@ else
fi
-if test "${cxxstd}" == 17 ; then
+if test "${cxxstd}" = 17 ; then
ax_cxx_compile_alternatives="17 1z" ax_cxx_compile_cxx17_required=true
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
@@ -17623,7 +17623,7 @@ $as_echo "$as_me: WARNING: C++17 is not
CXXFLAGS="$CXXFLAGS -std=c++17"
else
- if test "${cxxstd}" == 14 ; then
+ if test "${cxxstd}" = 14 ; then
ax_cxx_compile_alternatives="14 1y" ax_cxx_compile_cxx14_required=true
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
@@ -18531,7 +18531,7 @@ $as_echo "#define HAVE_CXX14 1" >>confde
CXXFLAGS="$CXXFLAGS -std=c++14"
else
- if test "${cxxstd}" == 11 ; then
+ if test "${cxxstd}" = 11 ; then
ax_cxx_compile_alternatives="11 0x" ax_cxx_compile_cxx11_required=true
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
@@ -19199,7 +19199,7 @@ $as_echo "#define HAVE_CXX11 1" >>confde
CXXFLAGS="$CXXFLAGS -std=c++11"
else
- if test "${cxxstd}" == 03 ; then
+ if test "${cxxstd}" = 03 ; then
CXXFLAGS="$CXXFLAGS -std=c++03"
else
ax_cxx_compile_alternatives="11 0x" ax_cxx_compile_cxx11_required=false
@@ -22482,11 +22482,11 @@ $as_echo "#define HAVE_CXX17 1" >>confde
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C++17 is not yet standardized, so the checks may change in incompatible ways anytime" >&5
$as_echo "$as_me: WARNING: C++17 is not yet standardized, so the checks may change in incompatible ways anytime" >&2;}
- if test "$HAVE_CXX14" == 1 ; then
+ if test "$HAVE_CXX14" = 1 ; then
CXXFLAGS="$CXXFLAGS -std=c++14"
cxxstd = 14
else
- if test "$HAVE_CXX11" == 1 ; then
+ if test "$HAVE_CXX11" = 1 ; then
CXXFLAGS="$CXXFLAGS -std=c++11"
cxxstd = 11
fi
@@ -23399,7 +23399,7 @@ fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sysconf_nproc" >&5
$as_echo "$sysconf_nproc" >&6; }
-if test "x${sysconf_nproc}" == xyes ; then
+if test "x${sysconf_nproc}" = xyes ; then
$as_echo "#define OPENEXR_IMF_HAVE_SYSCONF_NPROCESSORS_ONLN 1" >>confdefs.h
@@ -23511,7 +23511,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}
@@ -23524,7 +23524,7 @@ $as_echo "#define OPENEXR_IMF_INTERNAL_N
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
@@ -23548,7 +23548,7 @@ $as_echo "#define OPENEXR_IMF_INTERNAL_N
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
@@ -23583,7 +23583,7 @@ else
fi
-if test "x${custom_usr_namespace}" == xyes ; then
+if test "x${custom_usr_namespace}" = xyes ; then
{ $as_echo "$as_me:${as_lineno-$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;}
@@ -23592,7 +23592,7 @@ cat >>confdefs.h <<_ACEOF
_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
@@ -26309,7 +26311,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:${as_lineno-$LINENO}: result:
build OS X universal binaries $build_osxuniversal" >&5
$as_echo "