diff options
author | joerg <joerg> | 2007-03-07 16:48:39 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-03-07 16:48:39 +0000 |
commit | 3e769041c0f18b66993c91fa9f49f0b7196079d2 (patch) | |
tree | 2d5d933a1448dad6ccc71eeb4ec931a72a4d82ca | |
parent | 52aba5e2b7a53a25354cf91fab3e01b241dbcf1a (diff) | |
download | pkgsrc-3e769041c0f18b66993c91fa9f49f0b7196079d2.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.
-rw-r--r-- | math/genius/distinfo | 3 | ||||
-rw-r--r-- | math/genius/patches/patch-aa | 13 |
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; + } |