summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-11-26 00:05:54 +0000
committerhans <hans@pkgsrc.org>2011-11-26 00:05:54 +0000
commitbaa8b204645e9b886c55a52ee7465530be32e60a (patch)
tree3e8d6d29f78ebbed852ad8aaeb83bbe0b7dd6f58 /devel
parent02b271cee0c33cede34bfe44ed189b2cc74900f2 (diff)
downloadpkgsrc-baa8b204645e9b886c55a52ee7465530be32e60a.tar.gz
Fix build on NetBSD, and possibly other BSDs.
Diffstat (limited to 'devel')
-rw-r--r--devel/clisp-wildcard/distinfo3
-rw-r--r--devel/clisp-wildcard/patches/patch-modules_wildcard_gllib_fnmatch.c14
2 files changed, 16 insertions, 1 deletions
diff --git a/devel/clisp-wildcard/distinfo b/devel/clisp-wildcard/distinfo
index 2ba7a23b542..37f133dd52b 100644
--- a/devel/clisp-wildcard/distinfo
+++ b/devel/clisp-wildcard/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1 2011/04/20 18:50:02 hans Exp $
+$NetBSD: distinfo,v 1.2 2011/11/26 00:05:54 hans Exp $
SHA1 (clisp-2.49.tar.gz) = 1743e7917013162400c955af441e991db43b3323
RMD160 (clisp-2.49.tar.gz) = ae30f3b681cb023e885c6e4ed12210ee5ba14c76
Size (clisp-2.49.tar.gz) = 9823111 bytes
SHA1 (patch-aa) = dfc81991edd465415009b7509d8ee9cf72008cc1
SHA1 (patch-ab) = 856e2c4b955acb9279a65b28bd527ff89fbe8e35
+SHA1 (patch-modules_wildcard_gllib_fnmatch.c) = 17c85e76e13e0f1743ffb1bb304422ac0f4e16d0
diff --git a/devel/clisp-wildcard/patches/patch-modules_wildcard_gllib_fnmatch.c b/devel/clisp-wildcard/patches/patch-modules_wildcard_gllib_fnmatch.c
new file mode 100644
index 00000000000..28f20b9a47b
--- /dev/null
+++ b/devel/clisp-wildcard/patches/patch-modules_wildcard_gllib_fnmatch.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-modules_wildcard_gllib_fnmatch.c,v 1.1 2011/11/26 00:05:54 hans Exp $
+
+--- modules/wildcard/gllib/fnmatch.c.orig 2010-03-18 15:41:52.000000000 +0000
++++ modules/wildcard/gllib/fnmatch.c 2011-11-25 23:55:19.000000000 +0000
+@@ -30,7 +30,9 @@
+
+ #include <fnmatch.h>
+
++#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
+ #include <alloca.h>
++#endif
+ #include <assert.h>
+ #include <ctype.h>
+ #include <errno.h>