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/files
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/files')
-rw-r--r--dev-libs/libffi/files/libffi-3.0.9-powerpc64-darwin.patch28
1 files changed, 28 insertions, 0 deletions
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
+ ;;