summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel <daniel@pkgsrc.org>2005-03-03 09:18:47 +0000
committerdaniel <daniel@pkgsrc.org>2005-03-03 09:18:47 +0000
commit8f039970f983386761593008ce17722ada0a98d9 (patch)
treec142eebd10afc2ac7a0d51988b5dc9232f40a8b4
parentc5c56a3a78b0d53450d3a1a5c45fd75964022f4e (diff)
downloadpkgsrc-8f039970f983386761593008ce17722ada0a98d9.tar.gz
Make libffi buildable on NetBSD/amd64 (fixes PR pkg/29512).
Ack by wiz@.
-rw-r--r--devel/libffi/distinfo3
-rw-r--r--devel/libffi/patches/patch-aa10
2 files changed, 12 insertions, 1 deletions
diff --git a/devel/libffi/distinfo b/devel/libffi/distinfo
index 9909cc61ce7..9034a17a2a8 100644
--- a/devel/libffi/distinfo
+++ b/devel/libffi/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 22:24:18 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/03/03 09:18:47 daniel Exp $
SHA1 (gcc-3.3.tar.bz2) = 18e23822c6dc9cb462e0ff88bc1b8a20c53da60a
RMD160 (gcc-3.3.tar.bz2) = cd0fc96b1495f848053282dfa33a5a4ee4117181
+SHA1 (patch-aa) = 1a9c2dbd70633eca2fc5f65b29cbff731d95e1f4
Size (gcc-3.3.tar.bz2) = 23447616 bytes
diff --git a/devel/libffi/patches/patch-aa b/devel/libffi/patches/patch-aa
new file mode 100644
index 00000000000..f1090ac68e3
--- /dev/null
+++ b/devel/libffi/patches/patch-aa
@@ -0,0 +1,10 @@
+--- configure.old 2005-02-23 12:57:22.000000000 +0100
++++ configure 2005-02-23 12:59:38.000000000 +0100
+@@ -2478,6 +2478,7 @@
+ s390-*-linux-*) TARGET=S390; TARGETDIR=s390;;
+ s390x-*-linux-*) TARGET=S390; TARGETDIR=s390;;
+ x86_64-*-linux*) TARGET=X86_64; TARGETDIR=x86;;
++x86_64-*-netbsd*) TARGET=X86_64; TARGETDIR=x86;;
+ sh-*-linux* | sh[34]*-*-linux*) TARGET=SH; TARGETDIR=sh;;
+ esac
+