diff options
author | tron <tron@pkgsrc.org> | 2006-06-30 13:03:27 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2006-06-30 13:03:27 +0000 |
commit | f5faa917a9ae4a2e08ac65b2b8b6c4799f0b2b62 (patch) | |
tree | a02bc37c42f994ebe77794b88470b64e265534a4 /x11/xpmroot/patches | |
parent | ed7e434102fff634316ff0680e4c18eacba2d47f (diff) | |
download | pkgsrc-f5faa917a9ae4a2e08ac65b2b8b6c4799f0b2b62.tar.gz |
Use "stdlib.h" to get prototype for alloca() under NetBSD to avoid
build failures on system which use GCC 4.1.x.
Diffstat (limited to 'x11/xpmroot/patches')
-rw-r--r-- | x11/xpmroot/patches/patch-aa | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/xpmroot/patches/patch-aa b/x11/xpmroot/patches/patch-aa index b62dace52ba..a4f630147a9 100644 --- a/x11/xpmroot/patches/patch-aa +++ b/x11/xpmroot/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.6 2005/12/04 02:00:56 joerg Exp $ +$NetBSD: patch-aa,v 1.7 2006/06/30 13:03:27 tron Exp $ --- config.h.in.orig 2005-12-04 01:33:41.000000000 +0000 +++ config.h.in @@ -6,7 +6,7 @@ $NetBSD: patch-aa,v 1.6 2005/12/04 02:00:56 joerg Exp $ #else # ifdef _AIX #pragma alloca -+# elif defined(__DragonFly__) || defined(__FreeBSD__) ++# elif defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) +# include <stdlib.h> # else # ifndef alloca /* predefined by HP cc +Olibcalls */ |