summaryrefslogtreecommitdiff
path: root/devel/autoconf
diff options
context:
space:
mode:
authorjoerg <joerg>2010-07-29 15:49:36 +0000
committerjoerg <joerg>2010-07-29 15:49:36 +0000
commit62a66a8e862d4bd34b5ed46eb5defd0dd65bf1a1 (patch)
tree548401da33e74ce463e583c1719c6cb6ddef1954 /devel/autoconf
parentf6079efce0c4c7d395542b5d268744a46f53ff47 (diff)
downloadpkgsrc-62a66a8e862d4bd34b5ed46eb5defd0dd65bf1a1.tar.gz
AC_FUNC_ALLOCA should never define a prototype on the BSDs. Bump revision.
Diffstat (limited to 'devel/autoconf')
-rw-r--r--devel/autoconf/Makefile4
-rw-r--r--devel/autoconf/distinfo3
-rw-r--r--devel/autoconf/patches/patch-aa16
3 files changed, 20 insertions, 3 deletions
diff --git a/devel/autoconf/Makefile b/devel/autoconf/Makefile
index 2768024ba52..2091cd453cf 100644
--- a/devel/autoconf/Makefile
+++ b/devel/autoconf/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.75 2010/07/24 20:46:16 tron Exp $
+# $NetBSD: Makefile,v 1.76 2010/07/29 15:49:36 joerg Exp $
DISTNAME= autoconf-2.65
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=autoconf/}
diff --git a/devel/autoconf/distinfo b/devel/autoconf/distinfo
index 168a60271d2..5ef1d622e48 100644
--- a/devel/autoconf/distinfo
+++ b/devel/autoconf/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.23 2010/07/24 20:46:16 tron Exp $
+$NetBSD: distinfo,v 1.24 2010/07/29 15:49:36 joerg Exp $
SHA1 (autoconf-2.65.tar.gz) = ae9e1ab046822007f25c88e1d8f2166e065da8c2
RMD160 (autoconf-2.65.tar.gz) = 67cf709b61290b47255ccdb2c3113bcd04c42ecd
Size (autoconf-2.65.tar.gz) = 1738880 bytes
+SHA1 (patch-aa) = 481aec3f9d8c4b523ff27db50fccf6d219f36ffe
diff --git a/devel/autoconf/patches/patch-aa b/devel/autoconf/patches/patch-aa
new file mode 100644
index 00000000000..c3fd7a3bc1a
--- /dev/null
+++ b/devel/autoconf/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.11 2010/07/29 15:49:36 joerg Exp $
+
+Do not fall through to the implicit prototype as it conflicts with
+stdlib.h.
+
+--- lib/autoconf/functions.m4.orig 2010-07-29 15:21:52.000000000 +0000
++++ lib/autoconf/functions.m4
+@@ -369,6 +369,8 @@ AC_CACHE_CHECK([for alloca], ac_cv_func_
+ # ifdef _MSC_VER
+ # include <malloc.h>
+ # define alloca _alloca
++# elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
++# include <stdlib.h>
+ # else
+ # ifdef HAVE_ALLOCA_H
+ # include <alloca.h>