summaryrefslogtreecommitdiff
path: root/media-libs/openexr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-07-04 14:05:23 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-07-04 14:05:23 +0100
commit05b8b0e0af1d72e51a3ee61522941bf7605cd01c (patch)
tree43b0410e62aba677b4b256bc3ffe3fd333d28dbe /media-libs/openexr
parent90c88731bd036e5698b281fbc0a5f3aa4c9983ac (diff)
gentoo resync : 04.07.2020
Diffstat (limited to 'media-libs/openexr')
-rw-r--r--media-libs/openexr/Manifest3
-rw-r--r--media-libs/openexr/files/openexr-2.3.0-fix-bashisms.patch117
-rw-r--r--media-libs/openexr/openexr-2.3.0.ebuild1
3 files changed, 120 insertions, 1 deletions
diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 2a48109b19a1..a2b0e215b143 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -3,10 +3,11 @@ AUX openexr-2.2.0-fix-config.h-collision.patch 1556 BLAKE2B d7366aeae2a4d5b54968
AUX openexr-2.2.0-fix-cpuid-on-abi_x86_32.patch 2536 BLAKE2B 7eb4db8596cd157f30ba7be564f776598cfa0d893dbaf8f729e8041079e851b0272ba595298e10792a5c74c14b21fbea78a4157d9494501f2c1ca5ef946dc6af SHA512 530088a51d97039e951055361526b8afa2c322351971d26302d21ddd6fdf2d21682df0577872be608b8cd0c3d3fc05792d871e7c724546be42bfa439e74bb726
AUX openexr-2.3.0-bigendian.patch 2226 BLAKE2B e11a081bee4916276a912a0e96c873a9cee093df84aac0d69bf1c071d53b79064603c09637a446438d014739ba2c27b12f42567e5135af4a9913464f25fabe44 SHA512 2d1e300a3b5d0de7611c2b155f6123c778546a0cba0ee569c915ebcc39c343f88894286e6204bb10f153c824fd6ffed78979fc51804f56065ebf478c553f1e2f
AUX openexr-2.3.0-bigendian2.patch 655 BLAKE2B 0bbafb66a643263e756d473216f262a9e307b805bd428f102c8aa6ed28e7ce42fa7549a6a4c820b56b6195e9301f97433a0c18e5b03a2207bbb14bdc1dfb25c0 SHA512 c0d4b2b79102f8d75134debc10f4324921233384b1b404a957db2d36948527a764e2e8d911c14230b849b91cd050d3de2fc222437434802b1d71c5d9fba3e1fe
+AUX openexr-2.3.0-fix-bashisms.patch 4505 BLAKE2B cedadd9425265c9378de1431ccd9875afa047ec1324cf2fcef1de2f3444fa634e94da457050b2d7481b31918fb9855c7e7ff55160af2ce9889f0840cf847fcb9 SHA512 57293c57d8294bb20c075337b933b37e88f396b0c5fa5cd871800249ccbf286edcda1360e53aab9aa5b289bfc5e351e6ccaaa8f182607ce8bd1cc11cab03fad5
AUX openexr-2.3.0-fix-build-system.patch 2381 BLAKE2B 37fd9c6ae5357ffb93fd47344137b4c91110a79ab2b685ac048109192f87e41f01aaa0a0fbee222bfa10ffdc58340d7c803b3068bca8bf99c323dfe46252597d SHA512 36889880813acf75a77d3d34ea3f0a6535ca45194ad491bec17df3701d1eabd2bb03d81c525ba96cf695e91ec67abeb1b2395cfa45ff0767d90b4600d63e768a
AUX openexr-2.3.0-skip-bogus-tests.patch 1429 BLAKE2B fe9dcafb4ea5990cfcf36b16f377592dba1a6f9c31315e38596b67007b2cb67fa46a3217f335202b86b5aa8fb0498c5af5a0905a5a57b9af42b601da1bdae473 SHA512 ff13061b24f6477195e189c38e2bf855a46ab77461c8622dd2e2414a7d2103b260f5184735bb142275690e66fb469e6f6c1fbf626dd9c1c2afbc15b975eba78a
AUX openexr-2.3.0-tests-32bits-2.patch 586 BLAKE2B 83d36040f751e07f30c5cc3be10f8ac43d62d91b87b87bc2735ecc22426401b3b671d0b397e6a9a1fba351ae66e022c9bb488f95d29a9fbcca479d3d70501eac SHA512 5ffc8bda7e476ce71ee103b519c76e630371e5cc005b04f99d2c054580e387cc2b3b9598cbe4442415c5dfe85b0de8ceedf87079c3f738b7ebb737ea23ea7729
AUX openexr-2.3.0-tests-32bits.patch 1537 BLAKE2B 96cc98ef34a6c18102e5b96f4373f41b77d25aaf04f9a20d0d406eeae17988cc6f3eecf805f6bac1e42805b283f3123455ca1b069d7c0dc04628835ded2d8dec SHA512 58ad1d8f5dc28be60cdc290c7829d8b50708d26f3a769530e054c629170457f6b7e2b526455f6f86d2ee24931d8afdb61345ada99ae49897d926c0d50fb579f6
DIST openexr-2.3.0.tar.gz 18412067 BLAKE2B c73c4db4e414010ed8cc9f9631f3e8b17f47edf89b4ecb459aa00ff54a316b3bb1489e332bc029e0917ac4ffe7e152082244102029fd375f183da6741788dab7 SHA512 003f5bb3bd010be1ad9ff1798643ef711c683c8191625fe9b59070c9cb0c649c277cd506d890c6b239d9cbab80e83e16f1c1d1d74117c916ee3a80e061953123
-EBUILD openexr-2.3.0.ebuild 2195 BLAKE2B f62a5629023e2ede94da1516e76d377b3d15bea06eb5f2f048b471215fac740b6e69fca7384838673645ea8cbe21c8c541fa0300869624a8060fc33235fc58c2 SHA512 5723f5e6faad6b3fa802620bbf1e110625ec819ff709ad884518a00d97e917c109017971feee5b4f4338bfa5cabbacfc6ac2a732c8c0c46478f85b6cd6fd9ff4
+EBUILD openexr-2.3.0.ebuild 2234 BLAKE2B 864ae2338edbf3b058bf5053598b93a251a87a97d351c6fbed658508e9136a965bcae2598182f509ff65b56d6975bb72be3d9286d92b101a7164cabbd42f023b SHA512 f0b6c1c79ea7b49cc6f5157d20bd7001d225bef2729bcef23badbd3e72c8ec4f7b0d2cd2329682f5914ca40ffbc31bfb5715e7f6615988a467e26d23e2b56382
MISC metadata.xml 303 BLAKE2B 53fb5019bd6fe939d485f1eccb4a140ca9b7ce121b06744d8155842ccb6c5e1378ea39a9ae74c8d519be7b3926bd76040df4b8107137fcc2e25be97431e7a1be SHA512 0ab8d735dd7a8e0dc96b14cfde1ae06969d15cfbad956f4fda60b093660aee38fe98709376eedc9362a26858678d2f28eec795c1accb2560858fd804a11bb7ca
diff --git a/media-libs/openexr/files/openexr-2.3.0-fix-bashisms.patch b/media-libs/openexr/files/openexr-2.3.0-fix-bashisms.patch
new file mode 100644
index 000000000000..f633eb0e49f1
--- /dev/null
+++ b/media-libs/openexr/files/openexr-2.3.0-fix-bashisms.patch
@@ -0,0 +1,117 @@
+From ba329cba788d4f320e6fc455919233222c27a0dd Mon Sep 17 00:00:00 2001
+From: Kimball Thurston <kdt3rd@gmail.com>
+Date: Sun, 21 Jul 2019 23:07:01 +1200
+Subject: [PATCH] Fixes #139
+
+Removes bash-isms from the autoconf bootstrap / configure.ac files
+
+Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
+---
+ IlmBase/bootstrap | 4 ++--
+ IlmBase/configure.ac | 22 ++++++++++------------
+ OpenEXR/bootstrap | 4 ++--
+ OpenEXR/configure.ac | 26 +++++++++++++-------------
+ OpenEXR_Viewers/bootstrap | 4 ++--
+ OpenEXR_Viewers/configure.ac | 15 +++++++--------
+ PyIlmBase/bootstrap | 4 ++--
+ PyIlmBase/configure.ac | 15 +++++++--------
+ 8 files changed, 45 insertions(+), 49 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+--- a/configure.ac
++++ b/configure.ac
+@@ -76,30 +76,30 @@ AC_ARG_ENABLE(cxxstd,
+ [enable ISO c++ standard 11/14 [[default=auto]]]),
+ [cxxstd="${enableval}"], [cxxstd=14])
+
+-if test "${cxxstd}" == 17 ; then
++if test "${cxxstd}" = 17 ; then
+ AX_CXX_COMPILE_STDCXX([17], [noext], [mandatory])
+ CXXFLAGS="$CXXFLAGS -std=c++17"
+ else
+- if test "${cxxstd}" == 14 ; then
++ if test "${cxxstd}" = 14 ; then
+ AX_CXX_COMPILE_STDCXX([14], [noext], [mandatory])
+ CXXFLAGS="$CXXFLAGS -std=c++14"
+ else
+- if test "${cxxstd}" == 11 ; then
++ if test "${cxxstd}" = 11 ; then
+ AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory])
+ CXXFLAGS="$CXXFLAGS -std=c++11"
+ else
+- if test "${cxxstd}" == 03 ; then
++ if test "${cxxstd}" = 03 ; then
+ CXXFLAGS="$CXXFLAGS -std=c++03"
+ else
+ dnl automatically determine...
+ AX_CXX_COMPILE_STDCXX([11], [noext], [optional])
+ AX_CXX_COMPILE_STDCXX([14], [noext], [optional])
+ AX_CXX_COMPILE_STDCXX([17], [noext], [optional])
+- 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
+@@ -216,7 +216,7 @@ AC_COMPILE_IFELSE(
+ [sysconf_nproc="no"]
+ )
+ AC_MSG_RESULT([$sysconf_nproc])
+-if test "x${sysconf_nproc}" == xyes ; then
++if test "x${sysconf_nproc}" = xyes ; then
+ AC_DEFINE([OPENEXR_IMF_HAVE_SYSCONF_NPROCESSORS_ONLN], [1], [Define if sysconf(_SC_NPROCESSORS_ONLN) can be used for CPU count])
+ fi
+
+@@ -297,14 +297,14 @@ 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
+ AC_DEFINE_UNQUOTED([OPENEXR_IMF_INTERNAL_NAMESPACE], [Imf_${OPENEXR_VERSION_API}], [OpenEXR])
+ AC_DEFINE([OPENEXR_IMF_INTERNAL_NAMESPACE_CUSTOM], [1], [OpenEXR])
+
+ 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
+ AC_DEFINE_UNQUOTED([OPENEXR_IMF_INTERNAL_NAMESPACE], [Imf], [OpenEXR])
+
+ lib_namespace="Imf"
+@@ -318,7 +318,7 @@ else
+ fi
+ AC_SUBST(LIB_SUFFIX)
+
+-if test "x${lib_suffix_valid}" == xyes ; then
++if test "x${lib_suffix_valid}" = xyes ; then
+ AC_SUBST(LIB_SUFFIX_DASH,"-${LIB_SUFFIX}")
+ AM_CONDITIONAL(LIB_SUFFIX_EXISTS,true)
+ else
+@@ -338,11 +338,11 @@ AC_ARG_ENABLE(customusernamespace,
+ [custom_usr_namespace="${enableval}"],
+ [custom_usr_namespace=no])
+
+-if test "x${custom_usr_namespace}" == xyes ; then
++if test "x${custom_usr_namespace}" = xyes ; then
+ AC_MSG_WARN([Enabling 'custom user namespace' requires an additional argument, reverting to 'Imf'])
+ AC_DEFINE_UNQUOTED([OPENEXR_IMF_NAMESPACE], [Imf], [OpenEXR])
+ usr_namespace="Imf"
+-elif test "x${custom_usr_namespace}" == xno ; then
++elif test "x${custom_usr_namespace}" = xno ; then
+ AC_DEFINE_UNQUOTED([OPENEXR_IMF_NAMESPACE], [Imf], [OpenEXR])
+ usr_namespace="Imf"
+ else
+@@ -386,7 +386,7 @@ enable large stack optimizations $large_stack
+ internal library namespace $lib_namespace
+ user-client namespace $usr_namespace])
+
+-if test "x$build_osxuniversal" == xyes; then
++if test "x$build_osxuniversal" = xyes; then
+ AC_MSG_RESULT([
+ build OS X universal binaries $build_osxuniversal])
+ fi
diff --git a/media-libs/openexr/openexr-2.3.0.ebuild b/media-libs/openexr/openexr-2.3.0.ebuild
index 5cb1f98b83bd..69309c6d2019 100644
--- a/media-libs/openexr/openexr-2.3.0.ebuild
+++ b/media-libs/openexr/openexr-2.3.0.ebuild
@@ -33,6 +33,7 @@ PATCHES=(
"${FILESDIR}/${PN}-2.2.0-fix-config.h-collision.patch"
"${FILESDIR}/${PN}-2.2.0-Install-missing-header-files.patch"
"${FILESDIR}/${P}-fix-build-system.patch"
+ "${FILESDIR}/${P}-fix-bashisms.patch"
# From Debian
"${FILESDIR}/${PN}-2.3.0-tests-32bits.patch"
"${FILESDIR}/${PN}-2.3.0-skip-bogus-tests.patch"