summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner>2013-03-14 19:56:41 +0000
committerdrochner <drochner>2013-03-14 19:56:41 +0000
commitfdbf07a0a09e04933aa8af6f4ffd766a7c226ebb (patch)
treec0b8574fab6207aa68871df3d7f166a93f562677
parent1169acf0fa496103f0fd288519a3089171f12c5d (diff)
downloadpkgsrc-fdbf07a0a09e04933aa8af6f4ffd766a7c226ebb.tar.gz
update to 3.0.12
changes: -bugfixes -more compilers/CPUs supported
-rw-r--r--devel/libffi/Makefile5
-rw-r--r--devel/libffi/distinfo11
-rw-r--r--devel/libffi/patches/patch-aa20
-rw-r--r--devel/libffi/patches/patch-ak19
4 files changed, 17 insertions, 38 deletions
diff --git a/devel/libffi/Makefile b/devel/libffi/Makefile
index 7aceb0e15d5..707ca5709f5 100644
--- a/devel/libffi/Makefile
+++ b/devel/libffi/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2012/10/31 11:17:13 asau Exp $
+# $NetBSD: Makefile,v 1.20 2013/03/14 19:56:41 drochner Exp $
#
-DISTNAME= libffi-3.0.11
-PKGREVISION= 1
+DISTNAME= libffi-3.0.12
CATEGORIES= devel
MASTER_SITES= ftp://sourceware.org/pub/libffi/
diff --git a/devel/libffi/distinfo b/devel/libffi/distinfo
index 665c57730b7..98186e2293a 100644
--- a/devel/libffi/distinfo
+++ b/devel/libffi/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.25 2012/12/18 12:33:07 ryoon Exp $
+$NetBSD: distinfo,v 1.26 2013/03/14 19:56:41 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) = cff14bffb9d8eec3c5df5e869f87b80afad6049c
+SHA1 (libffi-3.0.12.tar.gz) = 463dcb4ae9aea4c52bba12b67fbe4d91ed1e21fd
+RMD160 (libffi-3.0.12.tar.gz) = 9b18efe307200da3e647700013948362d9830cf5
+Size (libffi-3.0.12.tar.gz) = 844641 bytes
+SHA1 (patch-aa) = 0a6cc24dc4a5ec7d0bb0e5db359e61d39ab75f2d
SHA1 (patch-ac) = f3c6324f4334d23e684b4eca25173a13be5d37eb
SHA1 (patch-ad) = 8901a00abe25422e3e35f321a5fb89311185fc0b
SHA1 (patch-ae) = aa53d44c740806d54776530eeb7f7ff245d2022d
@@ -12,5 +12,4 @@ SHA1 (patch-ag) = 6333317170f6e92f89db966315276dcd8e3484f2
SHA1 (patch-ah) = e9580069ede90cd616da7bc230b28acbf5d204a6
SHA1 (patch-ai) = f85a6cb64d4a9d7c3e56b47b7092fce10a744b5b
SHA1 (patch-aj) = d130b2b20b94ca26c70dcc46614e36c6d0ac9153
-SHA1 (patch-ak) = 2dcd80ef62cf5c8df71f0a0424de86586ade6a62
SHA1 (patch-fficonfig.h.in) = fd85fa767bc057c843ff71cc61bedfcff84def43
diff --git a/devel/libffi/patches/patch-aa b/devel/libffi/patches/patch-aa
index b47b0e417ff..e0c3751c3c9 100644
--- a/devel/libffi/patches/patch-aa
+++ b/devel/libffi/patches/patch-aa
@@ -1,10 +1,10 @@
-$NetBSD: patch-aa,v 1.14 2012/10/11 19:37:48 drochner Exp $
+$NetBSD: patch-aa,v 1.15 2013/03/14 19:56:41 drochner Exp $
Extend which ports we accept to deal with.
---- configure.orig 2012-04-12 03:13:17.000000000 +0000
+--- configure.orig 2013-02-11 19:24:24.000000000 +0000
+++ configure
-@@ -13158,7 +13158,7 @@ case "$host" in
+@@ -13329,7 +13329,7 @@ case "$host" in
TARGET=FRV; TARGETDIR=frv
;;
@@ -13,7 +13,7 @@ Extend which ports we accept to deal with.
TARGET=PA_LINUX; TARGETDIR=pa
;;
hppa*64-*-hpux*)
-@@ -13208,7 +13208,7 @@ case "$host" in
+@@ -13422,7 +13422,7 @@ case "$host" in
mips-sgi-irix5.* | mips-sgi-irix6.* | mips*-*-rtems*)
TARGET=MIPS; TARGETDIR=mips
;;
@@ -22,7 +22,7 @@ Extend which ports we accept to deal with.
# Support 128-bit long double for NewABI.
HAVE_LONG_DOUBLE='defined(__mips64)'
TARGET=MIPS; TARGETDIR=mips
-@@ -13233,7 +13233,7 @@ case "$host" in
+@@ -13443,7 +13443,7 @@ case "$host" in
powerpc-*-aix* | rs6000-*-aix*)
TARGET=POWERPC_AIX; TARGETDIR=powerpc
;;
@@ -31,7 +31,7 @@ Extend which ports we accept to deal with.
TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc
;;
powerpc64-*-freebsd*)
-@@ -13247,7 +13247,7 @@ case "$host" in
+@@ -13457,7 +13457,7 @@ case "$host" in
TARGET=S390; TARGETDIR=s390
;;
@@ -40,16 +40,16 @@ Extend which ports we accept to deal with.
TARGET=SH; TARGETDIR=sh
;;
sh64-*-* | sh5*-*-*)
-@@ -14402,7 +14402,7 @@ case "$target" in
+@@ -14647,7 +14647,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*)
+- *-apple-darwin1* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
++ *-apple-darwin1* | *-*-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
+@@ -16716,13 +16716,13 @@ s/ [a-zA-Z0-9-]*-all [a-zA-Z0-9-]*-all-a
/-all-all/d
a\\
@ HOST="\$(HOST)\" \\\\\\
diff --git a/devel/libffi/patches/patch-ak b/devel/libffi/patches/patch-ak
deleted file mode 100644
index 9263b93531d..00000000000
--- a/devel/libffi/patches/patch-ak
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-ak,v 1.1 2012/10/09 01:07:55 jmmv Exp $
-
-Avoid a duplicate case statement under powerpc, as the FFI_TYPE_LONGDOUBLE
-and FFI_TYPE_DOUBLE constants are defined to the same value.
-
---- src/powerpc/ffi.c.orig 2012-04-12 02:46:06.000000000 +0000
-+++ src/powerpc/ffi.c
-@@ -664,9 +664,11 @@ ffi_prep_cif_machdep (ffi_cif *cif)
- switch (type)
- {
- #ifndef __NO_FPRS__
-+#if FFI_TYPE_LONGDOUBLE != FFI_TYPE_DOUBLE
- case FFI_TYPE_LONGDOUBLE:
- flags |= FLAG_RETURNS_128BITS;
- /* Fall through. */
-+#endif
- case FFI_TYPE_DOUBLE:
- flags |= FLAG_RETURNS_64BITS;
- /* Fall through. */