diff options
author | ryoon <ryoon> | 2012-12-18 12:33:07 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2012-12-18 12:33:07 +0000 |
commit | 2a8d482a1337a945f8ff4a38ed7f5d2657c9537a (patch) | |
tree | 8dbe1f6950833923656e3ddff568d3c5e57c64e8 | |
parent | 219ef81e80ebf3ba0b04eac4029d17d2a07fedc0 (diff) | |
download | pkgsrc-2a8d482a1337a945f8ff4a38ed7f5d2657c9537a.tar.gz |
Fix PR/47199
Restore _MIPS_SIM workaround, removed during updating to rev. 1.4 of patch-ae.
Functionality is not tested yet.
-rw-r--r-- | devel/libffi/distinfo | 4 | ||||
-rw-r--r-- | devel/libffi/patches/patch-ae | 15 |
2 files changed, 16 insertions, 3 deletions
diff --git a/devel/libffi/distinfo b/devel/libffi/distinfo index 30599e2a31f..665c57730b7 100644 --- a/devel/libffi/distinfo +++ b/devel/libffi/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.24 2012/10/11 19:37:47 drochner Exp $ +$NetBSD: distinfo,v 1.25 2012/12/18 12:33:07 ryoon Exp $ SHA1 (libffi-3.0.11.tar.gz) = bff6a6c886f90ad5e30dee0b46676e8e0297d81d RMD160 (libffi-3.0.11.tar.gz) = 2495e499b63bed7e334ea15979f2eb24ed12ef9a @@ -6,7 +6,7 @@ Size (libffi-3.0.11.tar.gz) = 794220 bytes SHA1 (patch-aa) = cff14bffb9d8eec3c5df5e869f87b80afad6049c SHA1 (patch-ac) = f3c6324f4334d23e684b4eca25173a13be5d37eb SHA1 (patch-ad) = 8901a00abe25422e3e35f321a5fb89311185fc0b -SHA1 (patch-ae) = 039cd7de52af05a965616b603f9a0865c3b19c88 +SHA1 (patch-ae) = aa53d44c740806d54776530eeb7f7ff245d2022d SHA1 (patch-af) = 2c7ca79ef980a2561333bf79a18df1ecb0bbb9f7 SHA1 (patch-ag) = 6333317170f6e92f89db966315276dcd8e3484f2 SHA1 (patch-ah) = e9580069ede90cd616da7bc230b28acbf5d204a6 diff --git a/devel/libffi/patches/patch-ae b/devel/libffi/patches/patch-ae index 5ba7e4e21fd..df43d10d1f8 100644 --- a/devel/libffi/patches/patch-ae +++ b/devel/libffi/patches/patch-ae @@ -1,4 +1,4 @@ -$NetBSD: patch-ae,v 1.4 2012/09/14 23:45:27 asau Exp $ +$NetBSD: patch-ae,v 1.5 2012/12/18 12:33:07 ryoon Exp $ Make a minimal adjustment to support the various NetBSD mips ports. @@ -25,3 +25,16 @@ Make a minimal adjustment to support the various NetBSD mips ports. #endif # ifndef _ABIN32 +@@ -55,6 +57,12 @@ + # define _ABIO32 _MIPS_SIM_ABI32 + # endif + ++#ifdef __NetBSD__ ++/* Let's cheat a bit... */ ++# define _ABIO32 1 ++# define _MIPS_SIM _ABIO32 ++#endif ++ + #if !defined(_MIPS_SIM) + # error -- something is very wrong -- + #else |