Modified: trunk/dports/graphics/openexr/Portfile (148934 => 148935)
--- trunk/dports/graphics/openexr/Portfile 2016-05-23 04:40:00 UTC (rev 148934)
+++ trunk/dports/graphics/openexr/Portfile 2016-05-23 04:52:23 UTC (rev 148935)
@@ -37,7 +37,8 @@
# see #49965
# see also https://lists.nongnu.org/archive/html/openexr-devel/2013-06/msg00001.html
patchfiles \
- patch-IlmImf-Makefile.diff
+ patch-IlmImf-Makefile.diff \
+ patch-IlmImf-ImfSystemSpecific.h.diff
# which upgrading, do not find old header files and libraries (see #51470)
patchfiles-append \
Added: trunk/dports/graphics/openexr/files/patch-IlmImf-ImfSystemSpecific.h.diff (0 => 148935)
--- trunk/dports/graphics/openexr/files/patch-IlmImf-ImfSystemSpecific.h.diff (rev 0)
+++ trunk/dports/graphics/openexr/files/patch-IlmImf-ImfSystemSpecific.h.diff 2016-05-23 04:52:23 UTC (rev 148935)
@@ -0,0 +1,11 @@
+--- IlmImf/ImfSystemSpecific.h.orig 2016-05-22 21:41:02.000000000 -0700
++++ IlmImf/ImfSystemSpecific.h 2016-05-22 21:42:42.000000000 -0700
+@@ -54,7 +54,7 @@ static bool GLOBAL_SYSTEM_LITTLE_ENDIAN
+
+ #ifdef IMF_HAVE_SSE2
+
+-#ifdef __GNUC__
++#if defined(__GNUC__) && (!defined(__APPLE__) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060)
+ // Causes issues on certain gcc versions
+ //#define EXR_FORCEINLINE inline __attribute__((always_inline))
+ #define EXR_FORCEINLINE inline