[98680] trunk/dports/devel/libffi

kimuraw at macports.org kimuraw at macports.org
Fri Oct 12 16:50:54 PDT 2012


Revision: 98680
          http://trac.macports.org//changeset/98680
Author:   kimuraw at macports.org
Date:     2012-10-12 16:50:54 -0700 (Fri, 12 Oct 2012)
Log Message:
-----------
devel/libffi: fix FFI_MMAP_EXEC_WRIT missed on Mountain Lion

see https://bugzilla.mozilla.org/show_bug.cgi?id=682180

Modified Paths:
--------------
    trunk/dports/devel/libffi/Portfile

Added Paths:
-----------
    trunk/dports/devel/libffi/files/
    trunk/dports/devel/libffi/files/patch-configure.diff

Modified: trunk/dports/devel/libffi/Portfile
===================================================================
--- trunk/dports/devel/libffi/Portfile	2012-10-12 23:15:53 UTC (rev 98679)
+++ trunk/dports/devel/libffi/Portfile	2012-10-12 23:50:54 UTC (rev 98680)
@@ -5,6 +5,7 @@
 
 name                libffi
 version             3.0.11
+revision            1
 categories          devel
 platforms           darwin
 license             MIT
@@ -32,6 +33,7 @@
 
 checksums           rmd160  2495e499b63bed7e334ea15979f2eb24ed12ef9a \
                     sha256  70bfb01356360089aa97d3e71e3edf05d195599fd822e922e50d46a0055a6283
+patchfiles          patch-configure.diff
 
 array set merger_host {
     ppc64   powerpc-apple-darwin

Added: trunk/dports/devel/libffi/files/patch-configure.diff
===================================================================
--- trunk/dports/devel/libffi/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/devel/libffi/files/patch-configure.diff	2012-10-12 23:50:54 UTC (rev 98680)
@@ -0,0 +1,11 @@
+--- configure.orig	2012-04-12 12:13:17.000000000 +0900
++++ configure	2012-10-13 08:18:56.000000000 +0900
+@@ -14402,7 +14402,7 @@
+ $as_echo "#define FFI_EXEC_TRAMPOLINE_TABLE 1" >>confdefs.h
+ 
+      ;;
+-     *-apple-darwin1[10]* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
++     *-apple-darwin1[210]* | *-*-freebsd* | *-*-kfreebsd* | *-*-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/20121012/24eec8c7/attachment.html>


More information about the macports-changes mailing list