[93031] trunk/dports/lang
jeremyhu at macports.org
jeremyhu at macports.org
Mon May 14 00:27:38 PDT 2012
Revision: 93031
https://trac.macports.org/changeset/93031
Author: jeremyhu at macports.org
Date: 2012-05-14 00:27:38 -0700 (Mon, 14 May 2012)
Log Message:
-----------
gcc4[45]: Fix libffi for ppc users (#34329)
Modified Paths:
--------------
trunk/dports/lang/gauche-c-wrapper/Portfile
trunk/dports/lang/gcc44/Portfile
trunk/dports/lang/gcc45/Portfile
trunk/dports/lang/stklos/Portfile
Added Paths:
-----------
trunk/dports/lang/gcc44/files/ppc_fde_encoding.diff
trunk/dports/lang/gcc45/files/ppc_fde_encoding.diff
Modified: trunk/dports/lang/gauche-c-wrapper/Portfile
===================================================================
--- trunk/dports/lang/gauche-c-wrapper/Portfile 2012-05-14 07:10:15 UTC (rev 93030)
+++ trunk/dports/lang/gauche-c-wrapper/Portfile 2012-05-14 07:27:38 UTC (rev 93031)
@@ -16,7 +16,7 @@
checksums md5 3e226826bfe1f0132b900efba7d1a605
patchfiles patch-Makefile.in.diff
depends_lib port:gauche
-depends_build port:boehmgc \
+depends_build path:lib/libgc.dylib:boehmgc \
port:texi2html
post-destroot {
Modified: trunk/dports/lang/gcc44/Portfile
===================================================================
--- trunk/dports/lang/gcc44/Portfile 2012-05-14 07:10:15 UTC (rev 93030)
+++ trunk/dports/lang/gcc44/Portfile 2012-05-14 07:27:38 UTC (rev 93031)
@@ -59,6 +59,7 @@
depends_skip_archcheck-append gcc_select ld64 cctools
+patchfiles ppc_fde_encoding.diff
patch.dir ${workpath}/gcc-${version}
set major 4.4
Added: trunk/dports/lang/gcc44/files/ppc_fde_encoding.diff
===================================================================
--- trunk/dports/lang/gcc44/files/ppc_fde_encoding.diff (rev 0)
+++ trunk/dports/lang/gcc44/files/ppc_fde_encoding.diff 2012-05-14 07:27:38 UTC (rev 93031)
@@ -0,0 +1,44 @@
+diff --git src/powerpc/darwin.S src/powerpc/darwin.S
+--- libffi/src/powerpc/darwin.S
++++ libffi/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
+--- libffi/src/powerpc/darwin_closure.S
++++ libffi/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:
Modified: trunk/dports/lang/gcc45/Portfile
===================================================================
--- trunk/dports/lang/gcc45/Portfile 2012-05-14 07:10:15 UTC (rev 93030)
+++ trunk/dports/lang/gcc45/Portfile 2012-05-14 07:27:38 UTC (rev 93031)
@@ -70,6 +70,9 @@
depends_skip_archcheck-append gcc_select ld64 cctools
+patchfiles ppc_fde_encoding.diff
+patch.dir ${workpath}/gcc-${version}
+
set major 4.5
worksrcdir build
Added: trunk/dports/lang/gcc45/files/ppc_fde_encoding.diff
===================================================================
--- trunk/dports/lang/gcc45/files/ppc_fde_encoding.diff (rev 0)
+++ trunk/dports/lang/gcc45/files/ppc_fde_encoding.diff 2012-05-14 07:27:38 UTC (rev 93031)
@@ -0,0 +1,44 @@
+diff --git src/powerpc/darwin.S src/powerpc/darwin.S
+--- libffi/src/powerpc/darwin.S
++++ libffi/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
+--- libffi/src/powerpc/darwin_closure.S
++++ libffi/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:
Modified: trunk/dports/lang/stklos/Portfile
===================================================================
--- trunk/dports/lang/stklos/Portfile 2012-05-14 07:10:15 UTC (rev 93030)
+++ trunk/dports/lang/stklos/Portfile 2012-05-14 07:27:38 UTC (rev 93031)
@@ -24,7 +24,7 @@
sha1 113551b6bee26fbe5c835ef0db292b9276cccaa0 \
rmd160 517cad0a8cf99416887788f2454b55fc70f56f90
-depends_lib port:gmp port:pcre port:boehmgc
+depends_lib port:gmp port:pcre path:lib/libgc.dylib:boehmgc
configure.args --mandir=${prefix}/share/man \
--disable-gtk \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120514/5445706a/attachment-0001.html>
More information about the macports-changes
mailing list