diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-04-12 04:12:02 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-04-12 04:12:02 +0000 |
commit | a7cdbbc07e094eb9fc79b360b3ae692c25f844a7 (patch) | |
tree | 3b808da7b33eb3e59c790be0b1eaa5f9761ceb55 /dev-libs/libffi | |
parent | Respect CC, CXX by Agostino Sarubbo (bug #411075). (diff) | |
download | historical-a7cdbbc07e094eb9fc79b360b3ae692c25f844a7.tar.gz historical-a7cdbbc07e094eb9fc79b360b3ae692c25f844a7.tar.bz2 historical-a7cdbbc07e094eb9fc79b360b3ae692c25f844a7.zip |
old
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libffi')
-rw-r--r-- | dev-libs/libffi/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/libffi/Manifest | 26 | ||||
-rw-r--r-- | dev-libs/libffi/files/libffi-3.0.9-arm-oabi.patch | 13 | ||||
-rw-r--r-- | dev-libs/libffi/files/libffi-3.0.9-define-generic-symbols-carefully.patch | 69 | ||||
-rw-r--r-- | dev-libs/libffi/files/libffi-3.0.9-interix.patch | 62 | ||||
-rw-r--r-- | dev-libs/libffi/files/libffi-3.0.9-irix.patch | 55 | ||||
-rw-r--r-- | dev-libs/libffi/files/libffi-3.0.9-powerpc64-darwin.patch | 28 | ||||
-rw-r--r-- | dev-libs/libffi/files/libffi-3.0.9-strncmp.patch | 15 | ||||
-rw-r--r-- | dev-libs/libffi/libffi-3.0.11_rc3.ebuild | 63 | ||||
-rw-r--r-- | dev-libs/libffi/libffi-3.0.9-r2.ebuild | 44 |
10 files changed, 17 insertions, 368 deletions
diff --git a/dev-libs/libffi/ChangeLog b/dev-libs/libffi/ChangeLog index 1d7724fc43a1..7d74063d5887 100644 --- a/dev-libs/libffi/ChangeLog +++ b/dev-libs/libffi/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-libs/libffi # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.141 2012/04/12 04:10:14 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.142 2012/04/12 04:12:01 ssuominen Exp $ + + 12 Apr 2012; Samuli Suominen <ssuominen@gentoo.org> -libffi-3.0.9-r2.ebuild, + -files/libffi-3.0.9-arm-oabi.patch, + -files/libffi-3.0.9-define-generic-symbols-carefully.patch, + -files/libffi-3.0.9-interix.patch, -files/libffi-3.0.9-irix.patch, + -files/libffi-3.0.9-powerpc64-darwin.patch, + -files/libffi-3.0.9-strncmp.patch, -libffi-3.0.11_rc3.ebuild: + old *libffi-3.0.11 (12 Apr 2012) diff --git a/dev-libs/libffi/Manifest b/dev-libs/libffi/Manifest index be1348657e47..79050ca2556d 100644 --- a/dev-libs/libffi/Manifest +++ b/dev-libs/libffi/Manifest @@ -1,31 +1,21 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX libffi-3.0.9-arm-oabi.patch 287 RMD160 047879573e5a8d577fe66530c12d8ceae1d2baf5 SHA1 673d4c1b230adf7497853634adec5b7fcf9d6fe3 SHA256 77d3a62aef0bffba8b99a07bc3b461dea6eb68506d7cd57b762fa28f3f44cef9 -AUX libffi-3.0.9-define-generic-symbols-carefully.patch 1913 RMD160 5e2219a610259703986b792aa50cefe122c66a34 SHA1 d61a4f6b35eb2fa5bbe7907befd08121f96211bf SHA256 58c39a0feaf7e6beba13b42cb79fbff5d853d75f4c1014899511b3ff37012c9e -AUX libffi-3.0.9-interix.patch 2456 RMD160 c7d92621a610ace2730da00f070db8b6b240355b SHA1 85b56c85218fd42d86c3b5ddccad7fb421892589 SHA256 ecf5e44ae756929d0edf9f5c50682e4e23684ff90955ad454fd9cf087c849c8c -AUX libffi-3.0.9-irix.patch 1516 RMD160 0e7ecd3d857899972733375943bc1268aa92c2d5 SHA1 46ef3e873548761db84ef8738a60c3af45e0164c SHA256 b5b44a871c387e88ee66b27af1ea768342debc3d4b471b4b8665ea9ec2e31bc3 -AUX libffi-3.0.9-powerpc64-darwin.patch 531 RMD160 0eff6b065037c5d2ba3e4aa2575f6291aa427a7d SHA1 c44fbbf616e0735f4675666e2d74b6bb11302b83 SHA256 8b4cbef53013ac1e0e9a977b7b9295a721fe1897730cac6d282b8953581d3df7 -AUX libffi-3.0.9-strncmp.patch 433 RMD160 da46944b5c07db3a931c9f4b6ce022dde5968313 SHA1 99032e2ada8631375d2cc195c9a53c2c918aedef SHA256 27c04f9c5527606d3689f24d4fdd1eb8a689fac5d922965b7704ce6f24bc633c AUX libffi-3.0.9-x32.patch 2113 RMD160 584c8f564089435d16dc8c73e14e34fc7c68deff SHA1 48c25c3012242cb0d04bfc9b2f68eef81670ff89 SHA256 97a339b12f62b734c7d4d07145e7210c67577552d13cc506f7cc69468daeea71 DIST libffi-3.0.10.tar.gz 753346 RMD160 4a53046e966e5d875ecb1017f5ff1950cdf5253c SHA1 97abf70e6a6d315d9259d58ac463663051d471e1 SHA256 f01eb9027e9eb56aeaeef636649877756d475d714ef8b47f627f65bc5f3b492f -DIST libffi-3.0.11-rc3.tar.gz 784858 RMD160 113854c5d987f3c9e901d8b83c1bf9058993dd93 SHA1 cc5d0b84cab875bff2b09168605bdaa76c087f52 SHA256 95ab980ac492666388695fca3bb728490b2d15a27f6e3f95b4f4fdb3668f62d3 DIST libffi-3.0.11.tar.gz 794220 RMD160 2495e499b63bed7e334ea15979f2eb24ed12ef9a SHA1 bff6a6c886f90ad5e30dee0b46676e8e0297d81d SHA256 70bfb01356360089aa97d3e71e3edf05d195599fd822e922e50d46a0055a6283 -DIST libffi-3.0.9.tar.gz 731719 RMD160 11ff9aeb62f4fbe1fecf09e6f9814a72bfedb37a SHA1 56e41f87780e09d06d279690e53d4ea2c371ea88 SHA256 589d25152318bc780cd8919b14670793f4971d9838dab46ed38c32b3ee92c452 EBUILD libffi-3.0.10.ebuild 1610 RMD160 eec3a3bb4f14b0edf89373beddc8467920989aa2 SHA1 47bee64c4dbc56d155e8662c41194ecf525c0711 SHA256 ecf87c474177f4c3c2bad9c7890ecfc01e4d4f9b0c4fb75e637bb86f2ccf7839 EBUILD libffi-3.0.11.ebuild 1877 RMD160 a3d1f1b9d38474f1f1792c3bb45216122d0aba00 SHA1 d8d1f0a95d2a7e496cffe0667b511e14e5c4fb1b SHA256 d54267af4dd3d27c970d60f4786421f4810d0c83ba8305b5bf15fd0bf0d88b05 -EBUILD libffi-3.0.11_rc3.ebuild 1882 RMD160 75509ac9773a64f3bc0fec48ffb65b41d5f1c258 SHA1 8e829fea741ce68758b580d71207583cd0fd9ddd SHA256 4dd1964fab41a900a93135279c909f8b5236a71235ad5699cb80d16627360641 -EBUILD libffi-3.0.9-r2.ebuild 1393 RMD160 213b46f4ff5f74047b741a5547471468050d9cc5 SHA1 0fc05e0fdcd961d427e1c2a66baf67d8b4fe93ab SHA256 2f899ce0b30b4e246abe88243d5ed6fe81c914eff03694974012a6a5c59993a7 -MISC ChangeLog 19133 RMD160 c2068e36aa48787e7c303ea21796d7d0e19b104b SHA1 08939bfb593784a97817a17ed60f08ef7253964c SHA256 2ffb37ecf2710ceaadbd522ce90d8f82530833ff8af1aa0d7d786c703dfeb2be +MISC ChangeLog 19498 RMD160 52abc0a0d007e716c339675a7063197cc396b1ad SHA1 cca7aa21e25c73538b2e5f692cd26d79dfe113d8 SHA256 050a4eb1913a2acb2f9edd4c444b668e6682161af23a68a5dff8b78980f5c94d MISC metadata.xml 1663 RMD160 d2ead0beb5a34033489150623558bbe4e0083516 SHA1 8a54e9af62c01a17431ee8359edbe1d35099d3c3 SHA256 f03f0b55cdf4405ead462ba1c1b8ff2f1b6821c22c3f23d484490f8c875f6073 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBAgAGBQJPhlVzAAoJEEdUh39IaPFN1BoH/3DbZo7Z83X4D/tVe9PyaBCY -ZF8JkI5twqsy3MeoYngFPIQEaaibnzXD7/UnwaPKzGYbcqRoHaQVPWz62vZBqg4O -mx05SbKAgF6wIWFn6CYWtJhlInbyq2nRpsqZSGxh7M6/Z+vV+OWUp44fVy4OJp8j -U2mxK8Vk3Y3wJCBAJKbfMaLFzafmqOGUi88xzV9H3nnkhjJk5VNotCa1Ocsgu/T8 -UZl2SQfECgcsHzzDG+MAT4SwHjSomQk2Idm4JvKLa+JsLLiACYL/NmweKqwKFgUJ -i2VNaJpmUGlivgPFIrCqRiRznb1HaPdGEWOayEHY97U0EzSw2DxijwLhinEnxlA= -=W2n9 +iQEcBAEBAgAGBQJPhlXeAAoJEEdUh39IaPFNMeMH/jCdnW54NmuPa3fa08E0hHgJ +Oxtf8Gd+jCFt5t9YEJCvGbnuoMmjwOZOatVVAVY2e50GdX9sAfGFTqj5vi0fsP2T +3DUX7ztHLbzX//xNG+4NUFZiF6CSzfSUBLfwTDQ6Y3QESFs22yZNGHr3kfme9d2p +5o3CksL7hRleskr0x8gnItHRUIUzID8oRP4X1ejjw4brE6h56zGY8kjQRsflgBcm +8oA7tiVA5xYYIbo7O6aCuHhoYYWTT0E4mnljsIgcffRqmoHhJF4uG4OJqVFghZNp +GLPwGA4q/yNzSdkFNQ5rPdI1CnzthcdEP7C9iDLPwSAzXiWgzudif5nwV9r6u2I= +=OLLF -----END PGP SIGNATURE----- diff --git a/dev-libs/libffi/files/libffi-3.0.9-arm-oabi.patch b/dev-libs/libffi/files/libffi-3.0.9-arm-oabi.patch deleted file mode 100644 index a454e1c706d8..000000000000 --- a/dev-libs/libffi/files/libffi-3.0.9-arm-oabi.patch +++ /dev/null @@ -1,13 +0,0 @@ -http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42289 - ---- src/arm/sysv.S -+++ src/arm/sysv.S -@@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV - stmfd sp!, {ip, lr} - UNWIND .save {r0, lr} - add r2, sp, #8 -- .pad #16 -+ UNWIND .pad #16 - sub sp, sp, #16 - str sp, [sp, #8] - add r1, sp, #8 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; diff --git a/dev-libs/libffi/files/libffi-3.0.9-interix.patch b/dev-libs/libffi/files/libffi-3.0.9-interix.patch deleted file mode 100644 index e2a48677bc64..000000000000 --- a/dev-libs/libffi/files/libffi-3.0.9-interix.patch +++ /dev/null @@ -1,62 +0,0 @@ -diff --git a/configure b/configure -index d849c7a..fed97e2 100755 ---- a/configure -+++ b/configure -@@ -12180,7 +12180,7 @@ case "$host" in - i?86-*-freebsd* | i?86-*-openbsd*) - TARGET=X86_FREEBSD; TARGETDIR=x86 - ;; -- i?86-win32* | i?86-*-cygwin* | i?86-*-mingw*) -+ i?86-win32* | i?86-*-cygwin* | i?86-*-mingw* | i?86-*-interix*) - TARGET=X86_WIN32; TARGETDIR=x86 - # All mingw/cygwin/win32 builds require this for sharedlib - AM_LTLDFLAGS="-no-undefined" -diff --git a/configure.ac b/configure.ac -index 6314a6a..4e178a2 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -80,7 +80,7 @@ case "$host" in - i?86-*-freebsd* | i?86-*-openbsd*) - TARGET=X86_FREEBSD; TARGETDIR=x86 - ;; -- i?86-win32* | i?86-*-cygwin* | i?86-*-mingw*) -+ i?86-win32* | i?86-*-cygwin* | i?86-*-mingw* | i?86-*-interix*) - TARGET=X86_WIN32; TARGETDIR=x86 - # All mingw/cygwin/win32 builds require this for sharedlib - AM_LTLDFLAGS="-no-undefined" -diff --git a/src/closures.c b/src/closures.c -index bc087d9..65bf6a9 100644 ---- a/src/closures.c -+++ b/src/closures.c -@@ -193,11 +193,11 @@ static int dlmalloc_trim(size_t) MAYBE_UNUSED; - static size_t dlmalloc_usable_size(void*) MAYBE_UNUSED; - static void dlmalloc_stats(void) MAYBE_UNUSED; - --#if !(defined(X86_WIN32) || defined(X86_WIN64)) || defined (__CYGWIN__) -+#if !(defined(X86_WIN32) || defined(X86_WIN64)) || defined (__CYGWIN__) || defined(__INTERIX) - /* Use these for mmap and munmap within dlmalloc.c. */ - static void *dlmmap(void *, size_t, int, int, int, off_t); - static int dlmunmap(void *, size_t); --#endif /* !(defined(X86_WIN32) || defined(X86_WIN64)) || defined (__CYGWIN__) */ -+#endif /* !(defined(X86_WIN32) || defined(X86_WIN64)) || defined (__CYGWIN__) || defined(__INTERIX) */ - - #define mmap dlmmap - #define munmap dlmunmap -@@ -207,7 +207,7 @@ static int dlmunmap(void *, size_t); - #undef mmap - #undef munmap - --#if !(defined(X86_WIN32) || defined(X86_WIN64)) || defined (__CYGWIN__) -+#if !(defined(X86_WIN32) || defined(X86_WIN64)) || defined (__CYGWIN__) || defined(__INTERIX) - - #if FFI_MMAP_EXEC_SELINUX - -@@ -545,7 +545,7 @@ segment_holding_code (mstate m, char* addr) - } - #endif - --#endif /* !(defined(X86_WIN32) || defined(X86_WIN64)) || defined (__CYGWIN__) */ -+#endif /* !(defined(X86_WIN32) || defined(X86_WIN64)) || defined (__CYGWIN__) || defined(__INTERIX) */ - - /* Allocate a chunk of memory with the given size. Returns a pointer - to the writable address, and sets *CODE to the executable diff --git a/dev-libs/libffi/files/libffi-3.0.9-irix.patch b/dev-libs/libffi/files/libffi-3.0.9-irix.patch deleted file mode 100644 index 2f759f509478..000000000000 --- a/dev-libs/libffi/files/libffi-3.0.9-irix.patch +++ /dev/null @@ -1,55 +0,0 @@ -http://bugs.gentoo.org/show_bug.cgi?id=286911 - ---- src/mips/ffitarget.h.orig 2009-06-19 19:52:37.000000000 +0200 -+++ src/mips/ffitarget.h 2009-06-19 19:52:43.000000000 +0200 -@@ -43,7 +43,7 @@ - # endif - - #if !defined(_MIPS_SIM) ---- something is very wrong -- -+# error -- something is very wrong -- - #else - # if (_MIPS_SIM==_ABIN32 && defined(_ABIN32)) || (_MIPS_SIM==_ABI64 && defined(_ABI64)) - # define FFI_MIPS_N32 -@@ -51,7 +51,7 @@ - # if (_MIPS_SIM==_ABIO32 && defined(_ABIO32)) - # define FFI_MIPS_O32 - # else ---- this is an unsupported platform -- -+# error -- this is an unsupported platform -- - # endif - # endif - #endif ---- include/ffi.h.in.orig 2009-06-19 19:52:36.000000000 +0200 -+++ include/ffi.h.in 2009-06-19 19:52:43.000000000 +0200 -@@ -251,6 +251,9 @@ - - #if FFI_CLOSURES - -+#ifdef __sgi -+# pragma pack 8 -+#endif - typedef struct { - char tramp[FFI_TRAMPOLINE_SIZE]; - ffi_cif *cif; -@@ -260,6 +263,9 @@ - } ffi_closure __attribute__((aligned (8))); - #else - } ffi_closure; -+# ifdef __sgi -+# pragma pack 0 -+# endif - #endif - - void *ffi_closure_alloc (size_t size, void **code); ---- src/java_raw_api.c.dist 2009-09-29 11:04:56.517219880 +0100 -+++ src/java_raw_api.c 2009-09-29 11:05:56.836581720 +0100 -@@ -311,7 +311,7 @@ - ffi_raw_closure *cl = (ffi_raw_closure*)user_data; - - ffi_java_ptrarray_to_raw (cif, avalue, raw); -- (*cl->fun) (cif, rvalue, raw, cl->user_data); -+ (*cl->fun) (cif, rvalue, (ffi_raw*)raw, cl->user_data); - ffi_java_raw_to_rvalue (cif, rvalue); - } - diff --git a/dev-libs/libffi/files/libffi-3.0.9-powerpc64-darwin.patch b/dev-libs/libffi/files/libffi-3.0.9-powerpc64-darwin.patch deleted file mode 100644 index 514ffb7a0b3f..000000000000 --- a/dev-libs/libffi/files/libffi-3.0.9-powerpc64-darwin.patch +++ /dev/null @@ -1,28 +0,0 @@ -Add support for powerpc64-* hosts - ---- configure.ac -+++ configure.ac -@@ -154,6 +154,10 @@ - TARGET=X86_DARWIN; TARGETDIR=x86 - ;; - -+ powerpc64-*-darwin*) -+ TARGET=POWERPC_DARWIN; TARGETDIR=powerpc -+ ;; -+ - x86_64-*-cygwin* | x86_64-*-mingw*) - TARGET=X86_WIN64; TARGETDIR=x86 - ;; ---- configure -+++ configure -@@ -12254,6 +12254,10 @@ - TARGET=X86_DARWIN; TARGETDIR=x86 - ;; - -+ powerpc64-*-darwin*) -+ TARGET=POWERPC_DARWIN; TARGETDIR=powerpc -+ ;; -+ - x86_64-*-cygwin* | x86_64-*-mingw*) - TARGET=X86_WIN64; TARGETDIR=x86 - ;; diff --git a/dev-libs/libffi/files/libffi-3.0.9-strncmp.patch b/dev-libs/libffi/files/libffi-3.0.9-strncmp.patch deleted file mode 100644 index a919f2881790..000000000000 --- a/dev-libs/libffi/files/libffi-3.0.9-strncmp.patch +++ /dev/null @@ -1,15 +0,0 @@ -src/closures.c (selinux_enabled_check): Fix strncmp usage bug. - -http://github.com/atgreen/libffi/commit/eaf444eabc4c78703c0f98ac0197b1619c1b1bef - ---- src/closures.c -+++ src/closures.c -@@ -146,7 +146,7 @@ - p = strchr (p + 1, ' '); - if (p == NULL) - break; -- if (strncmp (p + 1, "selinuxfs ", 10) != 0) -+ if (strncmp (p + 1, "selinuxfs ", 10) == 0) - { - free (buf); - fclose (f); diff --git a/dev-libs/libffi/libffi-3.0.11_rc3.ebuild b/dev-libs/libffi/libffi-3.0.11_rc3.ebuild deleted file mode 100644 index 2c964256dcf1..000000000000 --- a/dev-libs/libffi/libffi-3.0.11_rc3.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.11_rc3.ebuild,v 1.2 2012/04/06 14:58:23 ssuominen Exp $ - -EAPI=4 - -MY_P=${P/_/-} - -inherit eutils libtool multilib toolchain-funcs - -DESCRIPTION="a portable, high level programming interface to various calling conventions." -HOMEPAGE="http://sourceware.org/libffi/" -SRC_URI="ftp://sourceware.org/pub/${PN}/${MY_P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -#KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="debug static-libs test" - -RDEPEND="" -DEPEND="test? ( dev-util/dejagnu )" - -S=${WORKDIR}/${MY_P} - -DOCS="ChangeLog* README" - -pkg_setup() { - # Check for orphaned libffi, see http://bugs.gentoo.org/354903 for example - if ! has_version ${CATEGORY}/${PN}; then - local base="${T}"/conftest - echo 'int main() { }' > "${base}".c - $(tc-getCC) -o "${base}" "${base}".c -lffi >&/dev/null - if [ $? -eq = 0 ]; then - eerror "The linker reported linking against -lffi to be working while it shouldn't have." - eerror "This is wrong and you should find and delete the old copy of libffi before continuing." - die "The system is in inconsistent state with unknown libffi installed." - fi - fi -} - -src_prepare() { - elibtoolize -} - -src_configure() { - use userland_BSD && export HOST="${CHOST}" - econf \ - $(use_enable static-libs static) \ - $(use_enable debug) -} - -src_install() { - default - rm -f "${ED}"/usr/lib*/lib*.la -} - -pkg_preinst() { - preserve_old_lib /usr/$(get_libdir)/${PN}$(get_libname 5) -} - -pkg_postinst() { - preserve_old_lib_notify /usr/$(get_libdir)/${PN}$(get_libname 5) -} diff --git a/dev-libs/libffi/libffi-3.0.9-r2.ebuild b/dev-libs/libffi/libffi-3.0.9-r2.ebuild deleted file mode 100644 index e516e659ba9c..000000000000 --- a/dev-libs/libffi/libffi-3.0.9-r2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.9-r2.ebuild,v 1.9 2012/02/16 22:50:00 vapier Exp $ - -EAPI=2 -inherit eutils libtool - -DESCRIPTION="a portable, high level programming interface to various calling conventions." -HOMEPAGE="http://sourceware.org/libffi/" -SRC_URI="ftp://sourceware.org/pub/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="debug static-libs test" - -RDEPEND="" -DEPEND="test? ( dev-util/dejagnu )" - -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-interix.patch \ - "${FILESDIR}"/${P}-powerpc64-darwin.patch \ - "${FILESDIR}"/${P}-irix.patch \ - "${FILESDIR}"/${P}-arm-oabi.patch \ - "${FILESDIR}"/${P}-define-generic-symbols-carefully.patch \ - "${FILESDIR}"/${P}-strncmp.patch \ - "${FILESDIR}"/${P}-x32.patch - - elibtoolize -} - -src_configure() { - econf \ - --disable-dependency-tracking \ - $(use_enable static-libs static) \ - $(use_enable debug) -} - -src_install() { - emake DESTDIR="${D}" install || die - dodoc ChangeLog* README - find "${D}" -type f -name '*.la' -exec rm -f '{}' + -} |