summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-06-30 13:03:27 +0000
committertron <tron@pkgsrc.org>2006-06-30 13:03:27 +0000
commit356b25083543c845672c224474dedda45688f100 (patch)
treea02bc37c42f994ebe77794b88470b64e265534a4 /x11
parent7e74cebfe52c520c7fad5725f762d583e9c51264 (diff)
downloadpkgsrc-356b25083543c845672c224474dedda45688f100.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')
-rw-r--r--x11/xpmroot/distinfo4
-rw-r--r--x11/xpmroot/patches/patch-aa4
2 files changed, 4 insertions, 4 deletions
diff --git a/x11/xpmroot/distinfo b/x11/xpmroot/distinfo
index 0ae964f0cb8..395d2f68679 100644
--- a/x11/xpmroot/distinfo
+++ b/x11/xpmroot/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.24 2005/12/04 02:00:56 joerg Exp $
+$NetBSD: distinfo,v 1.25 2006/06/30 13:03:27 tron Exp $
SHA1 (fvwm-2.4.19.tar.gz) = 6d881473560d6ded360fc47a7cfb1b3d5d30824f
RMD160 (fvwm-2.4.19.tar.gz) = cc6e3ceebccd50ba0404079771faa6babc041ca0
Size (fvwm-2.4.19.tar.gz) = 1826833 bytes
-SHA1 (patch-aa) = f4cde52be94b6a4d92e0826a44bfa63f761a7d4b
+SHA1 (patch-aa) = 5fe6ed5b63ec933623e26409c4e71f01a63bb3c7
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 */