pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libffi fix closures on NetBSD/amd64 and possibly...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/749214ee8c81
branches:  trunk
changeset: 609870:749214ee8c81
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Thu Oct 11 19:37:47 2012 +0000

description:
fix closures on NetBSD/amd64 and possibly more NetBSD platforms where
malloc'd memory is not automatically executable
bump PKGREV

diffstat:

 devel/libffi/Makefile         |   3 ++-
 devel/libffi/distinfo         |   4 ++--
 devel/libffi/patches/patch-aa |  13 +++++++++++--
 3 files changed, 15 insertions(+), 5 deletions(-)

diffs (55 lines):

diff -r caff4268d6d6 -r 749214ee8c81 devel/libffi/Makefile
--- a/devel/libffi/Makefile     Thu Oct 11 18:46:30 2012 +0000
+++ b/devel/libffi/Makefile     Thu Oct 11 19:37:47 2012 +0000
@@ -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 -r caff4268d6d6 -r 749214ee8c81 devel/libffi/distinfo
--- a/devel/libffi/distinfo     Thu Oct 11 18:46:30 2012 +0000
+++ b/devel/libffi/distinfo     Thu Oct 11 19:37:47 2012 +0000
@@ -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 -r caff4268d6d6 -r 749214ee8c81 devel/libffi/patches/patch-aa
--- a/devel/libffi/patches/patch-aa     Thu Oct 11 18:46:30 2012 +0000
+++ b/devel/libffi/patches/patch-aa     Thu Oct 11 19:37:47 2012 +0000
@@ -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 @@
        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)\" \\\\\\



Home | Main Index | Thread Index | Old Index