diff options
author | Markus Duft <mduft@gentoo.org> | 2011-05-18 06:11:56 +0000 |
---|---|---|
committer | Markus Duft <mduft@gentoo.org> | 2011-05-18 06:11:56 +0000 |
commit | 4a9511ff31321311d229d3df10a9a982477a8c0e (patch) | |
tree | 64c0e42060050347a7d5260cc8526f33e5660266 /dev-libs | |
parent | *portage-2.2.0_alpha34 (18 May 2011) (diff) | |
download | gentoo-2-4a9511ff31321311d229d3df10a9a982477a8c0e.tar.gz gentoo-2-4a9511ff31321311d229d3df10a9a982477a8c0e.tar.bz2 gentoo-2-4a9511ff31321311d229d3df10a9a982477a8c0e.zip |
fixed interix build
(Portage version: 2.2.00.15754-prefix/cvs/Interix x86)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libffi/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/libffi/files/libffi-3.0.10-interix.patch | 16 | ||||
-rw-r--r-- | dev-libs/libffi/libffi-3.0.10_rc8.ebuild | 5 |
3 files changed, 24 insertions, 3 deletions
diff --git a/dev-libs/libffi/ChangeLog b/dev-libs/libffi/ChangeLog index 1dbe0d593e05..0a7cae3bbd22 100644 --- a/dev-libs/libffi/ChangeLog +++ b/dev-libs/libffi/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/libffi # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.121 2011/05/02 09:16:11 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.122 2011/05/18 06:11:56 mduft Exp $ + + 12 May 2011; Markus Duft <mduft@gentoo.org> libffi-3.0.10_rc8.ebuild, + +files/libffi-3.0.10-interix.patch: + add patch: build fix for x86-interix (prefix) 02 May 2011; Fabian Groffen <grobian@gentoo.org> libffi-3.0.10_rc8.ebuild: Marked ~x64-freebsd diff --git a/dev-libs/libffi/files/libffi-3.0.10-interix.patch b/dev-libs/libffi/files/libffi-3.0.10-interix.patch new file mode 100644 index 000000000000..92a7d1dc5d45 --- /dev/null +++ b/dev-libs/libffi/files/libffi-3.0.10-interix.patch @@ -0,0 +1,16 @@ +report: + + http://sourceware.org/ml/libffi-discuss/2011/msg00131.html + +diff -ru libffi-3.0.10rc8.orig/src/closures.c libffi-3.0.10rc8/src/closures.c +--- libffi-3.0.10rc8.orig/src/closures.c 2011-05-10 08:45:31 +0200 ++++ libffi-3.0.10rc8/src/closures.c 2011-05-10 09:12:33 +0200 +@@ -172,7 +172,7 @@ + + #endif /* !FFI_MMAP_EXEC_SELINUX */ + +-#elif defined (__CYGWIN__) ++#elif defined (__CYGWIN__) || defined(__INTERIX) + + #include <sys/mman.h> + diff --git a/dev-libs/libffi/libffi-3.0.10_rc8.ebuild b/dev-libs/libffi/libffi-3.0.10_rc8.ebuild index 3ccfcd55666a..bbdf33922bf4 100644 --- a/dev-libs/libffi/libffi-3.0.10_rc8.ebuild +++ b/dev-libs/libffi/libffi-3.0.10_rc8.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.10_rc8.ebuild,v 1.2 2011/05/02 09:16:11 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.10_rc8.ebuild,v 1.3 2011/05/18 06:11:56 mduft Exp $ EAPI=2 MY_P=${P/_} -inherit libtool toolchain-funcs +inherit libtool toolchain-funcs eutils DESCRIPTION="a portable, high level programming interface to various calling conventions." HOMEPAGE="http://sourceware.org/libffi/" @@ -33,6 +33,7 @@ pkg_setup() { } src_prepare() { + epatch "${FILESDIR}"/${PN}-3.0.10-interix.patch elibtoolize } |