[148935] trunk/dports/graphics/openexr

jeremyhu at macports.org jeremyhu at macports.org
Sun May 22 21:52:23 PDT 2016


Revision: 148935
          https://trac.macports.org/changeset/148935
Author:   jeremyhu at macports.org
Date:     2016-05-22 21:52:23 -0700 (Sun, 22 May 2016)
Log Message:
-----------
openexr: Build fix for Leopard

Modified Paths:
--------------
    trunk/dports/graphics/openexr/Portfile

Added Paths:
-----------
    trunk/dports/graphics/openexr/files/patch-IlmImf-ImfSystemSpecific.h.diff

Modified: trunk/dports/graphics/openexr/Portfile
===================================================================
--- 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
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160522/7a44d6ab/attachment.html>


More information about the macports-changes mailing list