Modified: trunk/dports/devel/libffi/Portfile (86661 => 86662)
--- trunk/dports/devel/libffi/Portfile 2011-10-31 10:49:13 UTC (rev 86661)
+++ trunk/dports/devel/libffi/Portfile 2011-10-31 13:45:04 UTC (rev 86662)
@@ -5,6 +5,7 @@
name libffi
version 3.0.10
+revision 1
categories devel
platforms darwin
license MIT
@@ -33,7 +34,8 @@
checksums rmd160 4a53046e966e5d875ecb1017f5ff1950cdf5253c \
sha256 f01eb9027e9eb56aeaeef636649877756d475d714ef8b47f627f65bc5f3b492f
-patchfiles patch-configure.diff
+patchfiles patch-configure.diff \
+ patch-configure-darwin11.diff
array set merger_host {
ppc64 powerpc-apple-darwin
Added: trunk/dports/devel/libffi/files/patch-configure-darwin11.diff (0 => 86662)
--- trunk/dports/devel/libffi/files/patch-configure-darwin11.diff (rev 0)
+++ trunk/dports/devel/libffi/files/patch-configure-darwin11.diff 2011-10-31 13:45:04 UTC (rev 86662)
@@ -0,0 +1,13 @@
+--- configure.orig 2011-08-23 23:28:30.000000000 +0900
++++ configure 2011-10-31 22:26:40.000000000 +0900
+@@ -14292,7 +14292,9 @@
+ $as_echo "#define FFI_EXEC_TRAMPOLINE_TABLE 1" >>confdefs.h
+
+ ;;
+- *-apple-darwin10* | *-*-freebsd* | *-*-openbsd* | *-pc-solaris*)
++ #*-apple-darwin10* | *-*-freebsd* | *-*-openbsd* | *-pc-solaris*)
++ # enable FFI_MMAP_EXEC_WRIT on 10.7 Lion as same as 10.6 Snow Leopard
++ *-apple-darwin1[01]* | *-*-freebsd* | *-*-openbsd* | *-pc-solaris*)
+
+ $as_echo "#define FFI_MMAP_EXEC_WRIT 1" >>confdefs.h
+