Thu Jul 29 15:49:36 2010 UTC ()
AC_FUNC_ALLOCA should never define a prototype on the BSDs. Bump revision.


(joerg)
diff -r1.75 -r1.76 pkgsrc/devel/autoconf/Makefile
diff -r1.23 -r1.24 pkgsrc/devel/autoconf/distinfo
diff -r0 -r1.11 pkgsrc/devel/autoconf/patches/patch-aa

cvs diff -r1.75 -r1.76 pkgsrc/devel/autoconf/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/autoconf/Makefile 2010/07/24 20:46:16 1.75
+++ pkgsrc/devel/autoconf/Makefile 2010/07/29 15:49:36 1.76
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.75 2010/07/24 20:46:16 tron Exp $ 1# $NetBSD: Makefile,v 1.76 2010/07/29 15:49:36 joerg Exp $
2 2
3DISTNAME= autoconf-2.65 3DISTNAME= autoconf-2.65
4PKGREVISION= 1 4PKGREVISION= 2
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= ${MASTER_SITE_GNU:=autoconf/} 6MASTER_SITES= ${MASTER_SITE_GNU:=autoconf/}
7 7
8MAINTAINER= wiz@NetBSD.org 8MAINTAINER= wiz@NetBSD.org
9HOMEPAGE= http://www.gnu.org/software/autoconf/autoconf.html 9HOMEPAGE= http://www.gnu.org/software/autoconf/autoconf.html
10COMMENT= Generates automatic source code configuration scripts 10COMMENT= Generates automatic source code configuration scripts
11LICENSE= gnu-gpl-v3 AND gnu-fdl-v1.3 11LICENSE= gnu-gpl-v3 AND gnu-fdl-v1.3
12 12
13# XXX: needs m4>1.4.6; wants m4>1.4.13 13# XXX: needs m4>1.4.6; wants m4>1.4.13
14USE_TOOLS+= gm4:run perl:run 14USE_TOOLS+= gm4:run perl:run
15 15
16# The next line is for conflicts with old versions of this package, 16# The next line is for conflicts with old versions of this package,
17# which had autoconf-devel as PKGNAME. 17# which had autoconf-devel as PKGNAME.

cvs diff -r1.23 -r1.24 pkgsrc/devel/autoconf/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/autoconf/distinfo 2010/07/24 20:46:16 1.23
+++ pkgsrc/devel/autoconf/distinfo 2010/07/29 15:49:36 1.24
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
1$NetBSD: distinfo,v 1.23 2010/07/24 20:46:16 tron Exp $ 1$NetBSD: distinfo,v 1.24 2010/07/29 15:49:36 joerg Exp $
2 2
3SHA1 (autoconf-2.65.tar.gz) = ae9e1ab046822007f25c88e1d8f2166e065da8c2 3SHA1 (autoconf-2.65.tar.gz) = ae9e1ab046822007f25c88e1d8f2166e065da8c2
4RMD160 (autoconf-2.65.tar.gz) = 67cf709b61290b47255ccdb2c3113bcd04c42ecd 4RMD160 (autoconf-2.65.tar.gz) = 67cf709b61290b47255ccdb2c3113bcd04c42ecd
5Size (autoconf-2.65.tar.gz) = 1738880 bytes 5Size (autoconf-2.65.tar.gz) = 1738880 bytes
 6SHA1 (patch-aa) = 481aec3f9d8c4b523ff27db50fccf6d219f36ffe

File Added: pkgsrc/devel/autoconf/patches/Attic/patch-aa
$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>