summaryrefslogtreecommitdiff
path: root/x11/xpmroot
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-04 02:00:56 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-04 02:00:56 +0000
commitd7fb2783bf4dfd7998a1631a6ec98f345a8b7b62 (patch)
tree54d72cd83e1f73c00558c305798d696051f29992 /x11/xpmroot
parenta6d4be8c72cdff2fd0b8dcc30638ea095fbd439a (diff)
downloadpkgsrc-d7fb2783bf4dfd7998a1631a6ec98f345a8b7b62.tar.gz
Use alloca from stdlib.h on DragonFly and FreeBSD.
Diffstat (limited to 'x11/xpmroot')
-rw-r--r--x11/xpmroot/distinfo3
-rw-r--r--x11/xpmroot/patches/patch-aa13
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/xpmroot/distinfo b/x11/xpmroot/distinfo
index 50ddd7a2951..0ae964f0cb8 100644
--- a/x11/xpmroot/distinfo
+++ b/x11/xpmroot/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.23 2005/02/23 17:36:25 wiz Exp $
+$NetBSD: distinfo,v 1.24 2005/12/04 02:00:56 joerg 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
diff --git a/x11/xpmroot/patches/patch-aa b/x11/xpmroot/patches/patch-aa
new file mode 100644
index 00000000000..b62dace52ba
--- /dev/null
+++ b/x11/xpmroot/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.6 2005/12/04 02:00:56 joerg Exp $
+
+--- config.h.in.orig 2005-12-04 01:33:41.000000000 +0000
++++ config.h.in
+@@ -427,6 +427,8 @@
+ #else
+ # ifdef _AIX
+ #pragma alloca
++# elif defined(__DragonFly__) || defined(__FreeBSD__)
++# include <stdlib.h>
+ # else
+ # ifndef alloca /* predefined by HP cc +Olibcalls */
+ char *alloca ();