pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libffi/patches Remove Cygwin patches (were integ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fea1da460475
branches:  trunk
changeset: 641902:fea1da460475
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Nov 20 16:10:37 2014 +0000

description:
Remove Cygwin patches (were integrated in 3.2)

diffstat:

 devel/libffi/patches/patch-src_x86_ffi.c   |  15 ---------------
 devel/libffi/patches/patch-src_x86_win64.S |  15 ---------------
 2 files changed, 0 insertions(+), 30 deletions(-)

diffs (38 lines):

diff -r 5d9acf95477f -r fea1da460475 devel/libffi/patches/patch-src_x86_ffi.c
--- a/devel/libffi/patches/patch-src_x86_ffi.c  Thu Nov 20 16:07:12 2014 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_x86_ffi.c,v 1.1 2013/07/26 13:12:25 ryoon Exp $
-
-Fix build on Cygwin64. From Cygwin64 1.7.22's 3.0.12-cygwin.patch.
-
---- src/x86/ffi.c.orig 2013-03-16 11:25:04.000000000 +0000
-+++ src/x86/ffi.c
-@@ -28,7 +28,7 @@
-    DEALINGS IN THE SOFTWARE.
-    ----------------------------------------------------------------------- */
- 
--#if !defined(__x86_64__) || defined(_WIN64)
-+#if !defined(__x86_64__) || defined(_WIN64) || defined(__CYGWIN__)
- 
- #ifdef _WIN64
- #include <windows.h>
diff -r 5d9acf95477f -r fea1da460475 devel/libffi/patches/patch-src_x86_win64.S
--- a/devel/libffi/patches/patch-src_x86_win64.S        Thu Nov 20 16:07:12 2014 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_x86_win64.S,v 1.1 2013/07/26 13:12:25 ryoon Exp $
-
-Fix build on Cygwin64. From Cygwin64 1.7.22's 3.0.12-cygwin.patch.
-
---- src/x86/win64.S.orig       2013-03-16 11:19:39.000000000 +0000
-+++ src/x86/win64.S
-@@ -295,7 +295,7 @@ SYMBOL_NAME(ffi_closure_win64):
-       mov     %rax, %rcx      # context is first parameter
-       mov     %rsp, %rdx      # stack is second parameter
-       add     $48, %rdx       # point to start of arguments
--      mov     $SYMBOL_NAME(ffi_closure_win64_inner), %rax
-+      lea     SYMBOL_NAME(ffi_closure_win64_inner)(%rip), %rax
-       callq   *%rax           # call the real closure function
-       add     $40, %rsp
-       movq    %rax, %xmm0     # If the closure returned a float,



Home | Main Index | Thread Index | Old Index