mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-20 05:51:18 +02:00
Merge pull request #343 from mischief/dev-libs-libffi
bump(dev-libs/libffi): sync with upstream
This commit is contained in:
commit
d89d43776e
@ -1,6 +1,36 @@
|
||||
# ChangeLog for dev-libs/libffi
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.193 2014/08/10 20:35:34 slyfox Exp $
|
||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.200 2015/03/20 15:47:45 vapier Exp $
|
||||
|
||||
20 Mar 2015; Mike Frysinger <vapier@gentoo.org> libffi-3.1-r3.ebuild:
|
||||
Drop Darwin patch as it does not apply cleanly and it is already in newer
|
||||
versions #543856 by Hans de Graaff.
|
||||
|
||||
18 Jan 2015; Fabian Groffen <grobian@gentoo.org>
|
||||
+files/libffi-3.1-darwin-x32.patch, libffi-3.1-r3.ebuild, libffi-3.2.1.ebuild,
|
||||
libffi-3.2.ebuild:
|
||||
Allow to compile on 32-bits Darwin, bug #536764
|
||||
|
||||
16 Jan 2015; Tobias Klausmann <klausman@gentoo.org>
|
||||
+files/libffi-3.2.1-complex_alpha.patch, libffi-3.2.1.ebuild:
|
||||
Update src/alpha/osf.S to match ffi.h
|
||||
|
||||
31 Dec 2014; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/libffi-3.2.1-o-tmpfile-eacces.patch, libffi-3.2.1.ebuild:
|
||||
Workaround O_TMPFILE bugs in the system #529044 by Simon MARCHUK.
|
||||
|
||||
*libffi-3.2.1 (05 Dec 2014)
|
||||
|
||||
05 Dec 2014; William Hubbs <williamh@gentoo.org> +libffi-3.2.1.ebuild:
|
||||
version bump
|
||||
|
||||
19 Nov 2014; Mike Frysinger <vapier@gentoo.org> libffi-3.2.ebuild:
|
||||
Drop KEYWORDS until we can sort out #529044 a bit more.
|
||||
|
||||
*libffi-3.2 (12 Nov 2014)
|
||||
|
||||
12 Nov 2014; Samuli Suominen <ssuominen@gentoo.org> +libffi-3.2.ebuild:
|
||||
Version bump.
|
||||
|
||||
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> libffi-3.0.13-r1.ebuild,
|
||||
libffi-3.1-r3.ebuild:
|
||||
|
@ -1,19 +1,16 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX libffi-3.0.13-emutramp_pax_proc.patch 911 SHA256 955aa3d87522cb220133fa853bd3a5a7af1fe7cf5cc6b9eb74ffffb9ac563aba SHA512 402712b21feec0f162758adad630ecc588596eaebd2e79bb86802f313e102b8ef6d08eca0580a1aae25dabec3e018c499e2ce1960edc6af9182f67cd8cc9b0e1 WHIRLPOOL 22f76ca6f909c80228958115a8db37fbe5f12e291cdbc1fad672a0903c54a7918e2cee37fdc263e9c350f3c79a7870cc8f7a05789668a8dc87cb8434a6e20f9c
|
||||
AUX libffi-3.1-darwin-x32.patch 606 SHA256 419007aba26be807a25e6f34d319225458e3febc75c3f3d0c85093ded63e3cb2 SHA512 909e4c45f124d6a9d4a0b2b97fdcbf0451a15c11c3da581fc8571d4f4f0857306bbfddf682bbe0441f0c5c84a8489e4a79a792883bfe440224cf672567bf0a24 WHIRLPOOL 9f749489499e8e9fa7712ae4111424c47c695cd5ee7b6480a8a2f5cd638d8d95c000e16e81eb13603bd842c2d50d2d0c60480d519960c55b652867fd6cb95cde
|
||||
AUX libffi-3.1-execstack.patch 277 SHA256 55e95096d8b2bd82188c62b1316c602738336c0a4b58ccce503936dfc436b1d9 SHA512 1365cb102e6ffacd89b399243cd89ddb29259e373d16fd500d9d98bd40edbd0d79b63df6fb9464247cc2f11628d5c692a25f1c6d9cef19feb857e1232c154d4f WHIRLPOOL 597c3cdb8a28dcc15d724fa4d184956bcd4118803070ba63c1d914eb1a3b4c9720f68404a05ba4ad7ad83714f79ee7856bb8921886511bc7d35b39f33b4b41f0
|
||||
AUX libffi-3.1-typing_error.patch 350 SHA256 2e134e7f347f392499ec9128b220cff467919dfc048922d72689816d9f40ea95 SHA512 6be05ec604da587ded9d50ba57153b7ca24ee52dbed132d08f8653032153d377b2e399b58010e3c84e2106f077696a0cc9507018687af2082aa5ce055ba5fa07 WHIRLPOOL e8613594118774abaa2d79b0cdcbfd57d1c3ca275543423cec70b368e604c78bc7162d582a5b654b378b60a1d765a12b418bd10f8a8693ccbc3e7fdf225be216
|
||||
AUX libffi-3.2.1-complex_alpha.patch 601 SHA256 5653822db3b2338f6b7c63107868d20665a200f139616476fc1411ae76283fa5 SHA512 66890bf241236f08e0e726c820e2ff82df6071c1a3b25aa4f3f005b6431b94ec5a5f730db56de82c006e26415d72fe665d6ced37567bcdec6d84357faeb24bec WHIRLPOOL 1e020a6477eb137f5579de73a76a021eb2444a1223ef1e7b50460cbd92643c841429993d08517b7297b50f7d10aa4e5446f23ac1185d18712a5d28081d35eb74
|
||||
AUX libffi-3.2.1-o-tmpfile-eacces.patch 660 SHA256 655ed8d1c6ff1f48d69f28f3393e84fe53e581504f55cfa05b1914ed97be7463 SHA512 0887063ce1d812c31a34d662f852cf2944e008f2f60bd07941572f9032861e749968b090686e0d788f7cc3c5c8f1ed2388418ff000c42fd2d592f9837e782f65 WHIRLPOOL 72305d87d8a96542264c9b4211f14744fd980a29c9d63d78919211ec0d5a027973e9825777a79980c4ec22ed59319c3230780e60746ac860ce5a405b35351659
|
||||
DIST libffi-3.0.13.tar.gz 845747 SHA256 1dddde1400c3bcb7749d398071af88c3e4754058d2d4c0b3696c2f82dc5cf11c SHA512 fc47f5d25197c631754efe05a349edb556d072807ecef19b41f17c1a8f39c95221be64926fbd05b1f8439181df1ddff8fc01462ce3a26005b75159ddc27e6f6a WHIRLPOOL d5b14d48a7b35f7349ec938d0deac62db7022ac4d611ab13bc7a6a2766a47e210fc1663fc8c6d7ee48d421c06b66f558010829ac2c215620c76d0bf7650e1308
|
||||
DIST libffi-3.1.tar.gz 937214 SHA256 97feeeadca5e21870fa4433bc953d1b3af3f698d5df8a428f68b73cd60aef6eb SHA512 8994973d75facf5ad928c270e17b1a56e24d1543af75b93731a0048e747df27e4190a736b6dc2dca7d43de1d7e88891220304802c10fcccdcebee9c9ffd3d1b9 WHIRLPOOL 19c08cffd39c998fcd762b1e3767b4fd86915427226833411302bebd2d5bcf93d515e6df4a4cab11327595d3966e46442e457fbe09ae986b58bdfb2bb6adb913
|
||||
EBUILD libffi-3.0.13-r1.ebuild 2289 SHA256 44d26db4026bebca8d95f048fb947f48950e62116e797bdc429ffa429020e705 SHA512 ef2c6118a69e9d422160e3daadb9581f8faf8710ce27f675a13312c8e4c257d4df18a6d6b30b9864c152cbb5819099261374f53cef47a34b7f0b74c791580d5a WHIRLPOOL 33e06c242f0e338f7355ec9257ff8f89d7ccd89a6413465c605b04c9548713a9a8f70da5aa328cf52116b52acabfa92f1ede199eba8b4d286f0b894d2856c44c
|
||||
EBUILD libffi-3.1-r3.ebuild 2302 SHA256 01ebb6d8ed08b2d20c2ed2d7bedd2c467843df6b58ecdb39d8051820cef4ab61 SHA512 c2af031a827eec65f1b733269b62ca304636a4e4b8dea3e8a69c854303a30945b6bc6125b0e43c76174562c134c660debce756127d1ecbf2d11b1e15364e7675 WHIRLPOOL 3a4c19076ab58b109ab9f5df349c24f040b9f1ca8f8d043acbd0fd421bbb431fd0652589b038ab1810a630e47fd6cd585353637b8777cf124b033e189f5bd4f3
|
||||
MISC ChangeLog 26082 SHA256 1b1dba205c1b4c891e3112257d5009573b45918d14dcada88e5d02a3a430a072 SHA512 809f7f9d6448be45a37d5b30c4732e4a82c4c3ab0d7e0aa16fb7901c180f96fe9424aabfef108665e5064a5148bb16d168c6aa2ca445a8ee39729347ee81fe89 WHIRLPOOL 98c73b97e7fc986ee1b7d6064ad0124aa3937fcd7b1c4e1186afdf5a5af7d40cf9d7d01e0e2470b76f429b6767c9a10f98a137f1bc3480ef47b086679c5999d3
|
||||
DIST libffi-3.2.1.tar.gz 940837 SHA256 d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37 SHA512 980ca30a8d76f963fca722432b1fe5af77d7a4e4d2eac5144fbc5374d4c596609a293440573f4294207e1bdd9fda80ad1e1cafb2ffb543df5a275bc3bd546483 WHIRLPOOL b9d3c86e347029fa9f03fd3813405cc731099812ad6186bd4d2ea646354383803c90912b20e1804a6b7fc12719403b3c0c3b800bdbcab564a2c93fcb4fd722ad
|
||||
DIST libffi-3.2.tar.gz 940691 SHA256 6b2680fbf6ae9c2381d381248705857de22e05bae191889298f8e6bfb2ded4ef SHA512 fed5f6eec86144608966857f54bd69a5faa43427f27bc9178ebe2c7a1cecf925c20dbd6df07a207ae469842874efcf5b99fb7e09db59cbd92ebfc0a7e1bb62b7 WHIRLPOOL db7491bc5914eb6691aa366677c63af51979453330373251b1043b53163d1b56dbed65ba23c9f5047257e476e0d216045a06faa346790987047854ae1d04361d
|
||||
EBUILD libffi-3.0.13-r1.ebuild 2182 SHA256 a0ac517ad1fb280a3e8a4623456733b3ce898fa4f8e410fccad91f34b748a711 SHA512 7640261bdbc6c05a2ef48464aabbd8151c8b37a052b4b0e405520c56b9515d039e8de6969d91a5162faeea0005fe154f40eb32919da4b1655677fe507da81031 WHIRLPOOL 690aa7fab323bd5c0264533576fa4066fcb4bf3b740d5ce7cf51b318f12955c8fd4acf8b8da4cfa1bc1d0d94524cc5b37ef3d40e974276dcace3f5226748227b
|
||||
EBUILD libffi-3.1-r3.ebuild 2199 SHA256 c87bbca081c72a1c6619bd7b3bbb7dec76c3173d4200423a768c50f8fb8ecb2b SHA512 3cc6f6eca41a827145fbddb95cff8f8bf9d740d572c4548647c5e5defa862dc70cfc40c547bf9afb51c53f76e0f1655123f8f1602cf5d6f67c38a4ca0077c236 WHIRLPOOL 82f8dfeb5d378b2fde83e427599b1ad2dd539bd93d13bbf54101d21d7231033875b4de555556c81e8383b6a3e54fbe9c0f6ff9c9e259423645371d2616553d18
|
||||
EBUILD libffi-3.2.1.ebuild 2143 SHA256 eac917c373ef320474016b89c56853a4d2dd3c58c0b7c07cea7353330759a146 SHA512 2ed1030b949343f1cbf87974b3dd9786171313186dbda7f417f571cc5f609d41704ee0a7e6cf87771ad108d64b17713d2f86f3afbd9c90ae0e8f2c96c0f03493 WHIRLPOOL fd0b280b65a296d07d585ef698546e78562f5ca2d180740cd6adb16e997202f7f9691c57dd22b400af2dfd4bd2e3cd3502bddd103e2b7712f21106c218104909
|
||||
EBUILD libffi-3.2.ebuild 2084 SHA256 bcf466ee82c0bebab4b9f5e0b189bf5ad9a878e6998d88d9bf50431dfc337952 SHA512 19682bf7fa101e00b2c276d90d6b7606e12f92bf21f768244fbb82cbd47b0f1a16ae70e6810af2073c56874c408e58e0631b1d6db44a7a828b06bed539a8f339 WHIRLPOOL fe86138074cc8fa00da097fb0426a337730b23c4919274f6408cc668217db3a6869d2164dce170d2252419062714313c3fbd9781235055b730f177efc18a022e
|
||||
MISC ChangeLog 27182 SHA256 b643eb3993bbd864daf849482c0c2e58133468cfb4efd5b2ccc0170ba9d123bf SHA512 a00480e9d37cf03bcdaf45b43199098349b369580d9cb9eb23c4fab135440a55e47a635255bfcccd9e3cd0be6336b9275a79ecb93ee4177b2587112b09a259db WHIRLPOOL 94783d36d7ba7f246013f435c4c43d84b0438be0d69d9d6fcfc899a9601641baefdee4015872f26fcb10610a95ef398ed6ddeaf99787683c41cc5b523ec09449
|
||||
MISC metadata.xml 1768 SHA256 1bb92578368c006819d0cd5e1a94d32cffca87ddef8d571c29b483bedddc9b6e SHA512 2291c051ce2cb5c31989af68a705c0f8ce8d6ff23f2a66f839463a56a20454a6af276c5afc75687919e14fa614862356618e44c88415ff9884725e6e6db161bc WHIRLPOOL 7da7a437bf11dfcd5b5a8fbb067463ceb588fe83c1db0d15253293a955999d5dc65754918c73840a9a5020f86d1b6f1c9f8d127f4e1519594bc0678742727d45
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iEYEAREIAAYFAlPn15cACgkQcaHudmEf86rmbACeILbow+LEHu1CR/UhUqcx9Ksx
|
||||
iG4An0mNYrUgHSIN32KUptad2DRrZZnb
|
||||
=Wlwl
|
||||
-----END PGP SIGNATURE-----
|
||||
|
22
sdk_container/src/third_party/portage-stable/dev-libs/libffi/files/libffi-3.1-darwin-x32.patch
vendored
Normal file
22
sdk_container/src/third_party/portage-stable/dev-libs/libffi/files/libffi-3.1-darwin-x32.patch
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=513428
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=536764
|
||||
https://trac.macports.org/ticket/44170
|
||||
|
||||
--- libffi-3.2.1/src/x86/win32.S
|
||||
+++ libffi-3.2.1/src/x86/win32.S
|
||||
@@ -1184,7 +1184,6 @@
|
||||
|
||||
#if defined(X86_WIN32) && !defined(__OS2__)
|
||||
.section .eh_frame,"w"
|
||||
-#endif
|
||||
.Lframe1:
|
||||
.LSCIE1:
|
||||
.long .LECIE1-.LASCIE1 /* Length of Common Information Entry */
|
||||
@@ -1343,6 +1342,7 @@
|
||||
/* End of DW_CFA_xxx CFI instructions. */
|
||||
.align 4
|
||||
.LEFDE5:
|
||||
+#endif /* defined(X86_WIN32) && !defined(__OS2__), for the eh_frame */
|
||||
|
||||
#endif /* !_MSC_VER */
|
||||
|
@ -0,0 +1,20 @@
|
||||
--- src/alpha/osf.S.orig 2015-01-16 10:46:15.000000000 +0100
|
||||
+++ src/alpha/osf.S 2015-01-16 10:46:24.000000000 +0100
|
||||
@@ -279,6 +279,7 @@
|
||||
.gprel32 $load_64 # FFI_TYPE_SINT64
|
||||
.gprel32 $load_none # FFI_TYPE_STRUCT
|
||||
.gprel32 $load_64 # FFI_TYPE_POINTER
|
||||
+ .gprel32 $load_none # FFI_TYPE_COMPLEX
|
||||
|
||||
/* Assert that the table above is in sync with ffi.h. */
|
||||
|
||||
@@ -294,7 +295,8 @@
|
||||
|| FFI_TYPE_SINT64 != 12 \
|
||||
|| FFI_TYPE_STRUCT != 13 \
|
||||
|| FFI_TYPE_POINTER != 14 \
|
||||
- || FFI_TYPE_LAST != 14
|
||||
+ || FFI_TYPE_COMPLEX != 15 \
|
||||
+ || FFI_TYPE_LAST != 15
|
||||
#error "osf.S out of sync with ffi.h"
|
||||
#endif
|
||||
|
@ -0,0 +1,17 @@
|
||||
https://bugs.gentoo.org/529044
|
||||
|
||||
deploy this workaround until newer versions of the kernel/C library/libsandbox
|
||||
are rolled out into general circulation
|
||||
|
||||
--- a/src/closures.c
|
||||
+++ b/src/closures.c
|
||||
@@ -301,7 +301,8 @@ open_temp_exec_file_dir (const char *dir)
|
||||
#ifdef O_TMPFILE
|
||||
fd = open (dir, flags | O_RDWR | O_EXCL | O_TMPFILE, 0700);
|
||||
/* If the running system does not support the O_TMPFILE flag then retry without it. */
|
||||
- if (fd != -1 || (errno != EINVAL && errno != EISDIR && errno != EOPNOTSUPP)) {
|
||||
+ if (fd != -1 || (errno != EINVAL && errno != EISDIR && errno != EOPNOTSUPP &&
|
||||
+ errno != EACCES)) {
|
||||
return fd;
|
||||
} else {
|
||||
errno = 0;
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.13-r1.ebuild,v 1.15 2014/08/10 20:35:34 slyfox Exp $
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils libtool multilib toolchain-funcs multilib-minimal
|
||||
@ -23,7 +23,7 @@ DOCS="ChangeLog* README"
|
||||
ECONF_SOURCE=${S}
|
||||
|
||||
pkg_setup() {
|
||||
# Check for orphaned libffi, see http://bugs.gentoo.org/354903 for example
|
||||
# Check for orphaned libffi, see https://bugs.gentoo.org/354903 for example
|
||||
if [[ ${ROOT} == "/" && ${EPREFIX} == "" ]] && ! has_version ${CATEGORY}/${PN}; then
|
||||
local base="${T}"/conftest
|
||||
echo 'int main() { }' > "${base}".c
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.1-r3.ebuild,v 1.2 2014/08/10 20:35:34 slyfox Exp $
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils libtool multilib multilib-minimal toolchain-funcs
|
||||
@ -23,7 +23,7 @@ DOCS="ChangeLog* README"
|
||||
ECONF_SOURCE=${S}
|
||||
|
||||
pkg_setup() {
|
||||
# Check for orphaned libffi, see http://bugs.gentoo.org/354903 for example
|
||||
# Check for orphaned libffi, see https://bugs.gentoo.org/354903 for example
|
||||
if [[ ${ROOT} == "/" && ${EPREFIX} == "" ]] && ! has_version ${CATEGORY}/${PN}; then
|
||||
local base="${T}"/conftest
|
||||
echo 'int main() { }' > "${base}".c
|
||||
|
59
sdk_container/src/third_party/portage-stable/dev-libs/libffi/libffi-3.2.1.ebuild
vendored
Normal file
59
sdk_container/src/third_party/portage-stable/dev-libs/libffi/libffi-3.2.1.ebuild
vendored
Normal file
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils libtool multilib multilib-minimal 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}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug pax_kernel static-libs test"
|
||||
|
||||
RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r1
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
|
||||
DEPEND="test? ( dev-util/dejagnu )"
|
||||
|
||||
DOCS="ChangeLog* README"
|
||||
|
||||
ECONF_SOURCE=${S}
|
||||
|
||||
pkg_setup() {
|
||||
# Check for orphaned libffi, see https://bugs.gentoo.org/354903 for example
|
||||
if [[ ${ROOT} == "/" && ${EPREFIX} == "" ]] && ! 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() {
|
||||
sed -i -e 's:@toolexeclibdir@:$(libdir):g' Makefile.in || die #462814
|
||||
epatch "${FILESDIR}"/${PN}-3.2.1-o-tmpfile-eacces.patch #529044
|
||||
epatch "${FILESDIR}"/${PN}-3.2.1-complex_alpha.patch
|
||||
epatch "${FILESDIR}"/${PN}-3.1-darwin-x32.patch
|
||||
epatch_user
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
use userland_BSD && export HOST="${CHOST}"
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable pax_kernel pax_emutramp) \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files
|
||||
einstalldocs
|
||||
}
|
60
sdk_container/src/third_party/portage-stable/dev-libs/libffi/libffi-3.2.ebuild
vendored
Normal file
60
sdk_container/src/third_party/portage-stable/dev-libs/libffi/libffi-3.2.ebuild
vendored
Normal file
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils libtool multilib multilib-minimal 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}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
# A number of people report python ctypes errors #529044
|
||||
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug pax_kernel static-libs test"
|
||||
|
||||
RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r1
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
|
||||
DEPEND="test? ( dev-util/dejagnu )"
|
||||
|
||||
DOCS="ChangeLog* README"
|
||||
|
||||
ECONF_SOURCE=${S}
|
||||
|
||||
pkg_setup() {
|
||||
# Check for orphaned libffi, see https://bugs.gentoo.org/354903 for example
|
||||
if [[ ${ROOT} == "/" && ${EPREFIX} == "" ]] && ! 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() {
|
||||
sed -i -e 's:@toolexeclibdir@:$(libdir):g' Makefile.in || die #462814
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-3.1-darwin-x32.patch
|
||||
|
||||
epatch_user
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
use userland_BSD && export HOST="${CHOST}"
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable pax_kernel pax_emutramp) \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files
|
||||
einstalldocs
|
||||
}
|
@ -10,4 +10,4 @@ RDEPEND=abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r1 !app-
|
||||
SLOT=0
|
||||
SRC_URI=ftp://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz
|
||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 62927b3db3a589b0806255f3a002d5d3 multilib-build 0983c7893df461213a05f791cc7dea6d multilib-minimal 13dd976916c35a1e2c8d170e840c7018 toolchain-funcs 42408102d713fbad60ca21349865edb4
|
||||
_md5_=e791112d65ee504bfcbe5e19ba42b8e3
|
||||
_md5_=f09b8dd94e01e53c7e3ce6a3d1dd8253
|
||||
|
@ -10,4 +10,4 @@ RDEPEND=abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r1 !app-
|
||||
SLOT=0
|
||||
SRC_URI=ftp://sourceware.org/pub/libffi/libffi-3.1.tar.gz
|
||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 62927b3db3a589b0806255f3a002d5d3 multilib-build 0983c7893df461213a05f791cc7dea6d multilib-minimal 13dd976916c35a1e2c8d170e840c7018 toolchain-funcs 42408102d713fbad60ca21349865edb4
|
||||
_md5_=b1d168f6da29ecd09bbd48ae4d045b96
|
||||
_md5_=824d45229d83d4123fe7d4bf23c557c5
|
||||
|
12
sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/libffi-3.2
vendored
Normal file
12
sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/libffi-3.2
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test
|
||||
DEPEND=test? ( dev-util/dejagnu )
|
||||
DESCRIPTION=a portable, high level programming interface to various calling conventions
|
||||
EAPI=5
|
||||
HOMEPAGE=http://sourceware.org/libffi/
|
||||
IUSE=debug pax_kernel static-libs test abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
LICENSE=MIT
|
||||
RDEPEND=abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r1 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
||||
SLOT=0
|
||||
SRC_URI=ftp://sourceware.org/pub/libffi/libffi-3.2.tar.gz
|
||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 62927b3db3a589b0806255f3a002d5d3 multilib-build 0983c7893df461213a05f791cc7dea6d multilib-minimal 13dd976916c35a1e2c8d170e840c7018 toolchain-funcs 42408102d713fbad60ca21349865edb4
|
||||
_md5_=9a15232c6919607bbf0600935464a330
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/libffi-3.2.1
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/libffi-3.2.1
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test
|
||||
DEPEND=test? ( dev-util/dejagnu )
|
||||
DESCRIPTION=a portable, high level programming interface to various calling conventions
|
||||
EAPI=5
|
||||
HOMEPAGE=http://sourceware.org/libffi/
|
||||
IUSE=debug pax_kernel static-libs test abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=MIT
|
||||
RDEPEND=abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r1 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
||||
SLOT=0
|
||||
SRC_URI=ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz
|
||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 62927b3db3a589b0806255f3a002d5d3 multilib-build 0983c7893df461213a05f791cc7dea6d multilib-minimal 13dd976916c35a1e2c8d170e840c7018 toolchain-funcs 42408102d713fbad60ca21349865edb4
|
||||
_md5_=d75681f46bfd32f88c50db40d9304c1f
|
Loading…
x
Reference in New Issue
Block a user