[84201] trunk/dports/devel/libffi

ryandesign at macports.org ryandesign at macports.org
Tue Sep 20 06:24:19 PDT 2011


Revision: 84201
          http://trac.macports.org/changeset/84201
Author:   ryandesign at macports.org
Date:     2011-09-20 06:24:14 -0700 (Tue, 20 Sep 2011)
Log Message:
-----------
libffi: update to 3.0.10; see #31235

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

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

Removed Paths:
-------------
    trunk/dports/devel/libffi/files/ppc_FDE_Encoding.diff

Modified: trunk/dports/devel/libffi/Portfile
===================================================================
--- trunk/dports/devel/libffi/Portfile	2011-09-20 12:26:26 UTC (rev 84200)
+++ trunk/dports/devel/libffi/Portfile	2011-09-20 13:24:14 UTC (rev 84201)
@@ -4,7 +4,7 @@
 PortGroup  muniversal 1.0
 
 name                libffi
-version             3.0.9
+version             3.0.10
 categories          devel
 platforms           darwin
 license             MIT
@@ -29,20 +29,17 @@
                     http://mirror.aarnet.edu.au/pub/sourceware/libffi/ \
                     http://ftp.cs.pu.edu.tw/Linux/sourceware/libffi/ \
                     ftp://sourceware.org/pub/libffi/
-checksums           md5     1f300a7a7f975d4046f51c3022fa5ff1 \
-                    sha1    56e41f87780e09d06d279690e53d4ea2c371ea88 \
-                    rmd160  11ff9aeb62f4fbe1fecf09e6f9814a72bfedb37a
 
+checksums           rmd160  4a53046e966e5d875ecb1017f5ff1950cdf5253c \
+                    sha256  f01eb9027e9eb56aeaeef636649877756d475d714ef8b47f627f65bc5f3b492f
+
+patchfiles          patch-configure.diff
+
 array set merger_host {
     ppc64   powerpc-apple-darwin
 }
 set merger_dont_diff ${prefix}/include/ffitarget.h
 
-platform darwin 10 {
-    # ticket #21401
-    patchfiles-append ppc_FDE_Encoding.diff
-}
-
 livecheck.url       ${homepage}
 livecheck.type      regex
 livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)

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	2011-09-20 13:24:14 UTC (rev 84201)
@@ -0,0 +1,31 @@
+Index: configure
+===================================================================
+--- configure.orig	2011-08-23 16:28:30.000000000 +0200
++++ configure	2011-09-20 03:44:42.000000000 +0200
+@@ -16339,7 +16339,7 @@
+ 	; test ".\$\$HOST" = "." && HOST=$x sh $ax_enable_builddir_auxdir/config.guess $x \\\\\\
+ 	; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
+ 	; use=$x basename "\$\@" -all $x; n=$x echo \$\$BUILD | wc -w $x \\\\\\
+-	; echo "MAKE \$\$HOST : \$\$n * \$\@"; if test "\$\$n" = "0" ; then : \\\\\\
++	; echo "MAKE \$\$HOST : \$\$n * \$\@"; if test "\$\$n" -eq "0" ; then : \\\\\\
+ 	; BUILD=$x grep "^####.*|" Makefile |tail -1| sed -e 's/.*|//' $x ; fi \\\\\\
+ 	; test ".\$\$BUILD" = "." && BUILD="." \\\\\\
+ 	; test "\$\$use" = "\$\@" && BUILD=$x echo "\$\$BUILD" | tail -1 $x \\\\\\
+@@ -16351,7 +16351,7 @@
+ 	; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
+ 	; found=$x echo \$\$BUILD | wc -w $x \\\\\\
+ 	; echo "MAKE \$\$HOST : \$\$found \$(PACKAGE)-\$(VERSION).tar.*" \\\\\\
+-	; if test "\$\$found" = "0" ; then : \\\\\\
++	; if test "\$\$found" -eq "0" ; then : \\\\\\
+ 	; BUILD=$x grep "^#### .*|" Makefile |tail -1| sed -e 's/.*|//' $x \\\\\\
+ 	; fi ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
+ 	; for f in \$\$i/\$(PACKAGE)-\$(VERSION).tar.* \\\\\\
+@@ -16362,7 +16362,7 @@
+ 	; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
+ 	; found=$x echo \$\$BUILD | wc -w $x \\\\\\
+ 	; echo "MAKE \$\$HOST : \$\$found \$(PACKAGE)-\$(VERSION).*" \\\\\\
+-	; if test "\$\$found" = "0" ; then : \\\\\\
++	; if test "\$\$found" -eq "0" ; then : \\\\\\
+ 	; BUILD=$x grep "^#### .*|" Makefile |tail -1| sed -e 's/.*|//' $x \\\\\\
+ 	; fi ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
+ 	; for f in \$\$i/\$(PACKAGE)-\$(VERSION).* \\\\\\

Deleted: trunk/dports/devel/libffi/files/ppc_FDE_Encoding.diff
===================================================================
--- trunk/dports/devel/libffi/files/ppc_FDE_Encoding.diff	2011-09-20 12:26:26 UTC (rev 84200)
+++ trunk/dports/devel/libffi/files/ppc_FDE_Encoding.diff	2011-09-20 13:24:14 UTC (rev 84201)
@@ -1,44 +0,0 @@
-diff --git src/powerpc/darwin.S src/powerpc/darwin.S
---- src/powerpc/darwin.S
-+++ src/powerpc/darwin.S
-@@ -191,17 +191,17 @@ EH_frame1:
- LSCIE1:
- 	.long	0x0	; CIE Identifier Tag
- 	.byte	0x1	; CIE Version
- 	.ascii	"zR\0"	; CIE Augmentation
- 	.byte	0x1	; uleb128 0x1; CIE Code Alignment Factor
- 	.byte	0x7c	; sleb128 -4; CIE Data Alignment Factor
- 	.byte	0x41	; CIE RA Column
- 	.byte	0x1	; uleb128 0x1; Augmentation size
--	.byte	0x90	; FDE Encoding (indirect pcrel)
-+	.byte	0x10	; FDE Encoding (pcrel)
- 	.byte	0xc	; DW_CFA_def_cfa
- 	.byte	0x1	; uleb128 0x1
- 	.byte	0x0	; uleb128 0x0
- 	.align	LOG2_GPR_BYTES
- LECIE1:
- .globl _ffi_call_DARWIN.eh
- _ffi_call_DARWIN.eh:
- LSFDE1:
-diff --git src/powerpc/darwin_closure.S src/powerpc/darwin_closure.S
---- src/powerpc/darwin_closure.S
-+++ src/powerpc/darwin_closure.S
-@@ -253,17 +253,17 @@ EH_frame1:
- LSCIE1:
- 	.long	0x0	; CIE Identifier Tag
- 	.byte	0x1	; CIE Version
- 	.ascii	"zR\0"	; CIE Augmentation
- 	.byte	0x1	; uleb128 0x1; CIE Code Alignment Factor
- 	.byte	0x7c	; sleb128 -4; CIE Data Alignment Factor
- 	.byte	0x41	; CIE RA Column
- 	.byte	0x1	; uleb128 0x1; Augmentation size
--	.byte	0x90	; FDE Encoding (indirect pcrel)
-+	.byte	0x10	; FDE Encoding (pcrel)
- 	.byte	0xc	; DW_CFA_def_cfa
- 	.byte	0x1	; uleb128 0x1
- 	.byte	0x0	; uleb128 0x0
- 	.align	LOG2_GPR_BYTES
- LECIE1:
- .globl _ffi_closure_ASM.eh
- _ffi_closure_ASM.eh:
- LSFDE1:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110920/0b9603ae/attachment.html>


More information about the macports-changes mailing list