summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2011-02-09 15:00:42 -0500
committerAnthony Green <green@moxielogic.com>2011-02-09 15:00:42 -0500
commita6e56b97f62a3feeb3301c24a2e4cae55e546021 (patch)
tree508b74ae628a923eedb0a7ed9b7d0cd2eb386cc7 /patches
parent747d6c32d4abb07c10c3a1f93579c3929aaa2487 (diff)
downloadlibffi-a6e56b97f62a3feeb3301c24a2e4cae55e546021.tar.gz
Add powerpc64-*-darwin* support
Diffstat (limited to 'patches')
-rw-r--r--patches/ppc64-darwin56
-rw-r--r--patches/series1
2 files changed, 57 insertions, 0 deletions
diff --git a/patches/ppc64-darwin b/patches/ppc64-darwin
new file mode 100644
index 0000000..760bdee
--- /dev/null
+++ b/patches/ppc64-darwin
@@ -0,0 +1,56 @@
+Index: libffi/ChangeLog
+===================================================================
+--- libffi.orig/ChangeLog
++++ libffi/ChangeLog
+@@ -1,3 +1,7 @@
++2011-02-09 Anthony Green <green@moxielogic.com>
++
++ * configure.ac: Add powerpc64-*-darwin* support.
++
+ 2011-02-09 Anthony Green <green@moxielogic.com>
+
+ * README: Mention Interix.
+Index: libffi/configure
+===================================================================
+--- libffi.orig/configure
++++ libffi/configure
+@@ -12249,7 +12249,7 @@ case "$host" in
+ powerpc-*-beos*)
+ TARGET=POWERPC; TARGETDIR=powerpc
+ ;;
+- powerpc-*-darwin*)
++ powerpc-*-darwin* | powerpc64-*-darwin*)
+ TARGET=POWERPC_DARWIN; TARGETDIR=powerpc
+ ;;
+ powerpc-*-aix* | rs6000-*-aix*)
+@@ -12258,7 +12258,7 @@ case "$host" in
+ powerpc-*-freebsd*)
+ TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc
+ ;;
+- powerpc64-*-freebsd*)
++ powerpc64-*-freebsd*)
+ TARGET=POWERPC; TARGETDIR=powerpc
+ ;;
+ powerpc*-*-rtems*)
+Index: libffi/configure.ac
+===================================================================
+--- libffi.orig/configure.ac
++++ libffi/configure.ac
+@@ -137,7 +137,7 @@ case "$host" in
+ powerpc-*-beos*)
+ TARGET=POWERPC; TARGETDIR=powerpc
+ ;;
+- powerpc-*-darwin*)
++ powerpc-*-darwin* | powerpc64-*-darwin*)
+ TARGET=POWERPC_DARWIN; TARGETDIR=powerpc
+ ;;
+ powerpc-*-aix* | rs6000-*-aix*)
+@@ -146,7 +146,7 @@ case "$host" in
+ powerpc-*-freebsd*)
+ TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc
+ ;;
+- powerpc64-*-freebsd*)
++ powerpc64-*-freebsd*)
+ TARGET=POWERPC; TARGETDIR=powerpc
+ ;;
+ powerpc*-*-rtems*)
diff --git a/patches/series b/patches/series
index d864db1..64ab6cd 100644
--- a/patches/series
+++ b/patches/series
@@ -15,3 +15,4 @@ copyright-updates
ios
fix-xfails
interix
+ppc64-darwin