diff options
Diffstat (limited to 'dev-libs/libffi/files/libffi-3.0.9-define-generic-symbols-carefully.patch')
-rw-r--r-- | dev-libs/libffi/files/libffi-3.0.9-define-generic-symbols-carefully.patch | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/dev-libs/libffi/files/libffi-3.0.9-define-generic-symbols-carefully.patch b/dev-libs/libffi/files/libffi-3.0.9-define-generic-symbols-carefully.patch deleted file mode 100644 index 1fd6aace4950..000000000000 --- a/dev-libs/libffi/files/libffi-3.0.9-define-generic-symbols-carefully.patch +++ /dev/null @@ -1,69 +0,0 @@ -http://bugs.gentoo.org/347636 - -Index: libffi/include/ffi.h.in -=================================================================== ---- libffi.orig/include/ffi.h.in -+++ libffi/include/ffi.h.in -@@ -57,7 +57,9 @@ extern "C" { - #endif - - /* Specify which architecture libffi is configured for. */ -+#ifndef @TARGET@ - #define @TARGET@ -+#endif - - /* ---- System configuration information --------------------------------- */ - -Index: libffi/src/powerpc/ffitarget.h -=================================================================== ---- libffi.orig/src/powerpc/ffitarget.h -+++ libffi/src/powerpc/ffitarget.h -@@ -31,12 +31,18 @@ - /* ---- System specific configurations ----------------------------------- */ - - #if defined (POWERPC) && defined (__powerpc64__) /* linux64 */ -+#ifndef POWERPC64 - #define POWERPC64 -+#endif - #elif defined (POWERPC_DARWIN) && defined (__ppc64__) /* Darwin */ -+#ifndef POWERPC64 - #define POWERPC64 -+#endif - #elif defined (POWERPC_AIX) && defined (__64BIT__) /* AIX64 */ -+#ifndef POWERPC64 - #define POWERPC64 - #endif -+#endif - - #ifndef LIBFFI_ASM - typedef unsigned long ffi_arg; -Index: libffi/src/s390/ffitarget.h -=================================================================== ---- libffi.orig/src/s390/ffitarget.h -+++ libffi/src/s390/ffitarget.h -@@ -28,8 +28,10 @@ - #define LIBFFI_TARGET_H - - #if defined (__s390x__) -+#ifndef S390X - #define S390X - #endif -+#endif - - /* ---- System specific configurations ----------------------------------- */ - -Index: libffi/src/sparc/ffitarget.h -=================================================================== ---- libffi.orig/src/sparc/ffitarget.h -+++ libffi/src/sparc/ffitarget.h -@@ -30,8 +30,10 @@ - /* ---- System specific configurations ----------------------------------- */ - - #if defined(__arch64__) || defined(__sparcv9) -+#ifndef SPARC64 - #define SPARC64 - #endif -+#endif - - #ifndef LIBFFI_ASM - typedef unsigned long ffi_arg; |