summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-03-07 16:48:39 +0000
committerjoerg <joerg@pkgsrc.org>2007-03-07 16:48:39 +0000
commit94756a9557b78b75a9bce4605bc41dd27d93c1c9 (patch)
tree2d5d933a1448dad6ccc71eeb4ec931a72a4d82ca /math
parent058c8809bce14d1f03ef3db4b134c438f13dd178 (diff)
downloadpkgsrc-94756a9557b78b75a9bce4605bc41dd27d93c1c9.tar.gz
Fix build on systems without wordexp(3). While wordexp returns the
pattern if nothing is matched, glob(3) by default considers that an error.
Diffstat (limited to 'math')
-rw-r--r--math/genius/distinfo3
-rw-r--r--math/genius/patches/patch-aa13
2 files changed, 15 insertions, 1 deletions
diff --git a/math/genius/distinfo b/math/genius/distinfo
index 0eae90ce5b5..ef885898f10 100644
--- a/math/genius/distinfo
+++ b/math/genius/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2007/02/08 18:27:22 drochner Exp $
+$NetBSD: distinfo,v 1.4 2007/03/07 16:48:39 joerg Exp $
SHA1 (genius-0.7.7.tar.gz) = 026ed6f22ac99d64ecc93b2efa5718e23bbbd551
RMD160 (genius-0.7.7.tar.gz) = f36c3e9f155414092e943556f59b776a053654a1
Size (genius-0.7.7.tar.gz) = 2919265 bytes
+SHA1 (patch-aa) = 52a415af48bf0b86e6695485bf2a993f0106e842
diff --git a/math/genius/patches/patch-aa b/math/genius/patches/patch-aa
new file mode 100644
index 00000000000..ee25498896e
--- /dev/null
+++ b/math/genius/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2007/03/07 16:48:40 joerg Exp $
+
+--- src/calc.c.orig 2007-01-20 05:25:43.000000000 +0000
++++ src/calc.c
+@@ -2702,7 +2702,7 @@ get_wordlist (const char *lst)
+ #else
+ glob_t gl;
+ int i;
+- if G_UNLIKELY (glob (lst, 0, NULL, &gl) != 0) {
++ if G_UNLIKELY (glob (lst, GLOB_NOCHECK, NULL, &gl) != 0) {
+ gel_errorout (_("Can't expand '%s'"), lst);
+ return NULL;
+ }