Revision
148934
Author
jeremyhu@macports.org
Date
2016-05-22 21:40:00 -0700 (Sun, 22 May 2016)

Log Message

ilmbase: Fix Leopard build (openexr still fails)

Modified Paths

Added Paths

Diff

Modified: trunk/dports/graphics/openexr/Portfile (148933 => 148934)


--- trunk/dports/graphics/openexr/Portfile	2016-05-23 04:37:54 UTC (rev 148933)
+++ trunk/dports/graphics/openexr/Portfile	2016-05-23 04:40:00 UTC (rev 148934)
@@ -57,6 +57,9 @@
     checksums   \
         rmd160  b1adb0c96eff6b3554ddaf8f8bafe2cba8c114e3 \
         sha256  ecf815b60695555c1fbc73679e84c7c9902f4e8faa6e8000d2f905b8b86cedc7
+
+    # Bitrotted ucontext usage is buggy, don't bother with it.
+    patchfiles-append patch-configure.diff
 }
 
 set python_versions {27 34 35}

Added: trunk/dports/graphics/openexr/files/patch-configure.diff (0 => 148934)


--- trunk/dports/graphics/openexr/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/graphics/openexr/files/patch-configure.diff	2016-05-23 04:40:00 UTC (rev 148934)
@@ -0,0 +1,11 @@
+--- configure.orig	2016-05-22 21:23:29.000000000 -0700
++++ configure	2016-05-22 21:24:03.000000000 -0700
+@@ -16433,7 +16433,7 @@ fi
+ 
+ 
+ 
+-for ac_header in limits.h unistd.h ucontext.h
++for ac_header in limits.h unistd.h
+ do
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then