summaryrefslogtreecommitdiff
path: root/devel/libffi/patches/patch-ae
diff options
context:
space:
mode:
authortron <tron>2009-05-30 21:02:34 +0000
committertron <tron>2009-05-30 21:02:34 +0000
commit509355972f38ad570d3bdaedd85d467f25d8ffe5 (patch)
tree55d715cd3eac310d6e2602888751fde158125597 /devel/libffi/patches/patch-ae
parentfa9b19bd28e6e60f4bedc3b3c1914988e95941df (diff)
downloadpkgsrc-509355972f38ad570d3bdaedd85d467f25d8ffe5.tar.gz
Pullup ticket #2781 - requested by he
libffi: portability fix Revisions pulled up: - devel/libffi/Makefile 1.11 via patch - devel/libffi/distinfo 1.12 - devel/libffi/patches/patch-aa 1.8 - devel/libffi/patches/patch-ae 1.1 - devel/libffi/patches/patch-af 1.1 - devel/libffi/patches/patch-ag 1.1 --- Module Name: pkgsrc Committed By: he Date: Tue May 26 12:27:12 UTC 2009 Modified Files: pkgsrc/devel/libffi: Makefile distinfo pkgsrc/devel/libffi/patches: patch-aa Added Files: pkgsrc/devel/libffi/patches: patch-ae patch-af patch-ag Log Message: Update from version 3.0.8nb1 to 3.0.8nb2. Pkgsrc changes: o Add portability to the various mips-based NetBSD ports. The self-tests even complete without any unexpected failures.
Diffstat (limited to 'devel/libffi/patches/patch-ae')
-rw-r--r--devel/libffi/patches/patch-ae18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/libffi/patches/patch-ae b/devel/libffi/patches/patch-ae
new file mode 100644
index 00000000000..3c119a6d458
--- /dev/null
+++ b/devel/libffi/patches/patch-ae
@@ -0,0 +1,18 @@
+$NetBSD: patch-ae,v 1.1.2.2 2009/05/30 21:02:35 tron Exp $
+
+Make a minimal adjustment to support the various NetBSD mips ports.
+
+--- src/mips/ffitarget.h.orig 2008-02-15 19:43:40.000000000 +0100
++++ src/mips/ffitarget.h
+@@ -39,6 +39,11 @@
+ # define _ABIO32 _MIPS_SIM_ABI32
+ # endif
+ #endif
++#ifdef __NetBSD__
++/* Let's cheat a bit... */
++# define _ABIO32 1
++# define _MIPS_SIM _ABIO32
++#endif
+
+ #if !defined(_MIPS_SIM)
+ -- something is very wrong --