summaryrefslogtreecommitdiff
path: root/devel/libffi
diff options
context:
space:
mode:
authordrochner <drochner>2012-10-11 19:37:47 +0000
committerdrochner <drochner>2012-10-11 19:37:47 +0000
commitbdd7af7eb491691a2b401cd917552a2392892dd2 (patch)
treea8ad4143708a7ef933f2d53731e62a34865bb2cf /devel/libffi
parentd6f1249a9c855b1c1fc92ad0a3b5dd7349ac3ca4 (diff)
downloadpkgsrc-bdd7af7eb491691a2b401cd917552a2392892dd2.tar.gz
fix closures on NetBSD/amd64 and possibly more NetBSD platforms where
malloc'd memory is not automatically executable bump PKGREV
Diffstat (limited to 'devel/libffi')
-rw-r--r--devel/libffi/Makefile3
-rw-r--r--devel/libffi/distinfo4
-rw-r--r--devel/libffi/patches/patch-aa13
3 files changed, 15 insertions, 5 deletions
diff --git a/devel/libffi/Makefile b/devel/libffi/Makefile
index 89162a95e1d..877fcdd978b 100644
--- a/devel/libffi/Makefile
+++ b/devel/libffi/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2012/09/14 23:45:27 asau Exp $
+# $NetBSD: Makefile,v 1.18 2012/10/11 19:37:47 drochner Exp $
#
DISTNAME= libffi-3.0.11
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://sourceware.org/pub/libffi/
diff --git a/devel/libffi/distinfo b/devel/libffi/distinfo
index 10561dc0382..30599e2a31f 100644
--- a/devel/libffi/distinfo
+++ b/devel/libffi/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.23 2012/10/09 01:07:55 jmmv Exp $
+$NetBSD: distinfo,v 1.24 2012/10/11 19:37:47 drochner Exp $
SHA1 (libffi-3.0.11.tar.gz) = bff6a6c886f90ad5e30dee0b46676e8e0297d81d
RMD160 (libffi-3.0.11.tar.gz) = 2495e499b63bed7e334ea15979f2eb24ed12ef9a
Size (libffi-3.0.11.tar.gz) = 794220 bytes
-SHA1 (patch-aa) = 2a8dbee6b0c52494f4e291f131fd385129ce9811
+SHA1 (patch-aa) = cff14bffb9d8eec3c5df5e869f87b80afad6049c
SHA1 (patch-ac) = f3c6324f4334d23e684b4eca25173a13be5d37eb
SHA1 (patch-ad) = 8901a00abe25422e3e35f321a5fb89311185fc0b
SHA1 (patch-ae) = 039cd7de52af05a965616b603f9a0865c3b19c88
diff --git a/devel/libffi/patches/patch-aa b/devel/libffi/patches/patch-aa
index d070c927174..b47b0e417ff 100644
--- a/devel/libffi/patches/patch-aa
+++ b/devel/libffi/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.13 2012/09/14 23:45:27 asau Exp $
+$NetBSD: patch-aa,v 1.14 2012/10/11 19:37:48 drochner Exp $
Extend which ports we accept to deal with.
@@ -40,7 +40,16 @@ Extend which ports we accept to deal with.
TARGET=SH; TARGETDIR=sh
;;
sh64-*-* | sh5*-*-*)
-@@ -16446,13 +16446,13 @@ s/ [a-zA-Z0-9-]*-all [a-zA-Z0-9-]*-all-a
+@@ -14402,7 +14402,7 @@ case "$target" in
+ $as_echo "#define FFI_EXEC_TRAMPOLINE_TABLE 1" >>confdefs.h
+
+ ;;
+- *-apple-darwin1[10]* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
++ *-apple-darwin1[10]* | *-*-freebsd* | *-*-kfreebsd* | *-*-netbsd* | *-*-openbsd* | *-pc-solaris*)
+
+ $as_echo "#define FFI_MMAP_EXEC_WRIT 1" >>confdefs.h
+
+@@ -16446,13 +16448,13 @@ s/ [a-zA-Z0-9-]*-all [a-zA-Z0-9-]*-all-a
/-all-all/d
a\\
@ HOST="\$(HOST)\" \\\\\\