diff options
author | steve <steve@FreeBSD.org> | 1998-10-20 09:35:31 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-10-20 09:35:31 +0800 |
commit | f84d90bf09f78e697c987cf1552656bbfa3258b1 (patch) | |
tree | d382019ad8b5c04f0bfc9cfc6a487e28e19e2500 /devel/libffi-devel/files | |
parent | a8f996a1ad6103a519f6870179d7db6563751637 (diff) | |
download | freebsd-ports-gnome-f84d90bf09f78e697c987cf1552656bbfa3258b1.tar.gz freebsd-ports-gnome-f84d90bf09f78e697c987cf1552656bbfa3258b1.tar.zst freebsd-ports-gnome-f84d90bf09f78e697c987cf1552656bbfa3258b1.zip |
Convert to ELF and remove leading underscores so this builds
again.
Diffstat (limited to 'devel/libffi-devel/files')
-rw-r--r-- | devel/libffi-devel/files/patch-ab | 45 |
1 files changed, 6 insertions, 39 deletions
diff --git a/devel/libffi-devel/files/patch-ab b/devel/libffi-devel/files/patch-ab index 01d32630e0f9..0b4f501cb19a 100644 --- a/devel/libffi-devel/files/patch-ab +++ b/devel/libffi-devel/files/patch-ab @@ -1,44 +1,11 @@ ---- src/x86/sysv.S.orig Sun Jun 14 14:43:22 1998 -+++ src/x86/sysv.S Sun Jun 14 14:48:35 1998 -@@ -30,14 +30,14 @@ - - .text - --.globl ffi_prep_args -+.globl _ffi_prep_args +--- src/x86/sysv.S.orig Tue Feb 24 19:49:51 1998 ++++ src/x86/sysv.S Tue Oct 13 22:28:56 1998 +@@ -33,7 +33,7 @@ + .globl ffi_prep_args # This assumes we are using gas. - .balign 16 --.globl ffi_call_SYSV -- .type ffi_call_SYSV,@function + .align 4 -+.globl _ffi_call_SYSV -+ .type _ffi_call_SYSV,@function - --ffi_call_SYSV: -+_ffi_call_SYSV: - pushl %ebp - movl %esp,%ebp - -@@ -47,10 +47,10 @@ - - movl %esp,%eax - -- # Place all of the ffi_prep_args in position -+ # Place all of the _ffi_prep_args in position - pushl 12(%ebp) - pushl %eax -- call ffi_prep_args -+ call _ffi_prep_args - - # Return stack to previous state and call the function - addl $8,%esp -@@ -110,6 +110,6 @@ - movl %ebp,%esp - popl %ebp - ret --.ffi_call_SYSV_end: -- .size ffi_call_SYSV,.ffi_call_SYSV_end-ffi_call_SYSV -+._ffi_call_SYSV_end: -+ .size _ffi_call_SYSV,._ffi_call_SYSV_end-_ffi_call_SYSV + .globl ffi_call_SYSV + .type ffi_call_SYSV,@function |