[86662] trunk/dports/devel/libffi
kimuraw at macports.org
kimuraw at macports.org
Mon Oct 31 06:45:08 PDT 2011
Revision: 86662
http://trac.macports.org/changeset/86662
Author: kimuraw at macports.org
Date: 2011-10-31 06:45:04 -0700 (Mon, 31 Oct 2011)
Log Message:
-----------
devel/libffi: fix wrong FFI_MMAP_EXEC_WRIT from `confgiure'.
this bug raises Bus Error on port:ruby19 fiddle and dl modules on Lion.
see
* fink - http://sourceforge.net/tracker/?func=detail&aid=3374297&group_id=17203&atid=414256
* mozilla - https://bugzilla.mozilla.org/show_bug.cgi?id=682180
Modified Paths:
--------------
trunk/dports/devel/libffi/Portfile
Added Paths:
-----------
trunk/dports/devel/libffi/files/patch-configure-darwin11.diff
Modified: trunk/dports/devel/libffi/Portfile
===================================================================
--- 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
===================================================================
--- 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
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111031/5aa9ae17/attachment-0001.html>
More information about the macports-changes
mailing list