summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-01-06 19:52:34 +0000
committerFabian Groffen <grobian@gentoo.org>2011-01-06 19:52:34 +0000
commitb60a5c708b89adc216b8bbaf590a92988b5c5f65 (patch)
tree7526cd9bb01424376ff2742237d408b58d06e07d /dev-libs/libffi
parentUnmask "test" USE flag of dev-util/buildbot*. (diff)
downloadhistorical-b60a5c708b89adc216b8bbaf590a92988b5c5f65.tar.gz
historical-b60a5c708b89adc216b8bbaf590a92988b5c5f65.tar.bz2
historical-b60a5c708b89adc216b8bbaf590a92988b5c5f65.zip
Add patch to allow compilation on powerpc64-*-darwin*
Package-Manager: portage-2.2.01.17555-prefix/cvs/Darwin powerpc
Diffstat (limited to 'dev-libs/libffi')
-rw-r--r--dev-libs/libffi/ChangeLog8
-rw-r--r--dev-libs/libffi/Manifest5
-rw-r--r--dev-libs/libffi/files/libffi-3.0.9-powerpc64-darwin.patch28
-rw-r--r--dev-libs/libffi/libffi-3.0.9-r1.ebuild5
4 files changed, 40 insertions, 6 deletions
diff --git a/dev-libs/libffi/ChangeLog b/dev-libs/libffi/ChangeLog
index ea8c0b31d0ba..2fa117f79983 100644
--- a/dev-libs/libffi/ChangeLog
+++ b/dev-libs/libffi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libffi
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.108 2010/12/18 09:10:53 ssuominen Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.109 2011/01/06 19:52:33 grobian Exp $
+
+ 06 Jan 2011; Fabian Groffen <grobian@gentoo.org> libffi-3.0.9-r1.ebuild,
+ +files/libffi-3.0.9-powerpc64-darwin.patch:
+ Add patch to allow compilation on powerpc64-*-darwin*
*libffi-3.0.9-r1 (18 Dec 2010)
diff --git a/dev-libs/libffi/Manifest b/dev-libs/libffi/Manifest
index 8d46140a1372..b5d9418737bd 100644
--- a/dev-libs/libffi/Manifest
+++ b/dev-libs/libffi/Manifest
@@ -2,8 +2,9 @@ AUX libffi-3.0.9-arm-oabi.patch 287 RMD160 047879573e5a8d577fe66530c12d8ceae1d2b
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
DIST libffi-3.0.9.tar.gz 731719 RMD160 11ff9aeb62f4fbe1fecf09e6f9814a72bfedb37a SHA1 56e41f87780e09d06d279690e53d4ea2c371ea88 SHA256 589d25152318bc780cd8919b14670793f4971d9838dab46ed38c32b3ee92c452
-EBUILD libffi-3.0.9-r1.ebuild 1317 RMD160 79a44f66c93c6e29867d1799ee211794cc2d07a6 SHA1 55672dd221a7deb402ae1c2e0c5f12af316bf9b5 SHA256 30bdf3bb7deda572c2be178ce550ed5919530e18adf7ed3063f5be914da0af1c
+EBUILD libffi-3.0.9-r1.ebuild 1361 RMD160 1613c58d115c3f84441fb8527d4c3285a49f1d32 SHA1 ce9f318764eaeedc7d7ac83acb6a910f539ac5ad SHA256 ff664ab0055c64993c0f0f4e562d02fb4d9dd22e354d8e1f3fca6befce5bbd0f
EBUILD libffi-3.0.9.ebuild 1241 RMD160 65dae7ee8f9e173433b4c03f2e12b735a32918e9 SHA1 99153a28229846f0737a38d28efb9af2a9c9840a SHA256 d2f4ad38e4c2c4010974a1893c72462dde9accc7eecc2532f70076ac5bb63d63
-MISC ChangeLog 14745 RMD160 9917455c44e0155650038b3cbf7eb9b9571e7fcd SHA1 caff2590591d8c6c4d4a9375e564f07c3fd5f996 SHA256 1f26d24c450f4a1c12469a833360ae9bc0c1e19e848f6513ec64da1ec63ea01b
+MISC ChangeLog 14921 RMD160 9c5a09243752fa56a29b2350190f8eda66483b1f SHA1 221b62b78789994df53bf05ec49e849ae90dbf88 SHA256 ea6fad7d0d03a2ba8343fe9ce51807418e5c14e1fe6fd461dcf65e3ccda2b1a5
MISC metadata.xml 1663 RMD160 d2ead0beb5a34033489150623558bbe4e0083516 SHA1 8a54e9af62c01a17431ee8359edbe1d35099d3c3 SHA256 f03f0b55cdf4405ead462ba1c1b8ff2f1b6821c22c3f23d484490f8c875f6073
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
new file mode 100644
index 000000000000..514ffb7a0b3f
--- /dev/null
+++ b/dev-libs/libffi/files/libffi-3.0.9-powerpc64-darwin.patch
@@ -0,0 +1,28 @@
+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/libffi-3.0.9-r1.ebuild b/dev-libs/libffi/libffi-3.0.9-r1.ebuild
index e677e8c6d33a..eebffa754c35 100644
--- a/dev-libs/libffi/libffi-3.0.9-r1.ebuild
+++ b/dev-libs/libffi/libffi-3.0.9-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# 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.9-r1.ebuild,v 1.1 2010/12/18 09:10:53 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.9-r1.ebuild,v 1.2 2011/01/06 19:52:33 grobian Exp $
inherit eutils libtool
@@ -21,6 +21,7 @@ src_unpack() {
cd "${S}"
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