pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/genius Fix build on systems without wordexp(3). W...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc64d09978a5
branches:  trunk
changeset: 526312:fc64d09978a5
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Mar 07 16:48:39 2007 +0000

description:
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:

 math/genius/distinfo         |   3 ++-
 math/genius/patches/patch-aa |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 2f8ba16333f2 -r fc64d09978a5 math/genius/distinfo
--- a/math/genius/distinfo      Wed Mar 07 16:46:39 2007 +0000
+++ b/math/genius/distinfo      Wed Mar 07 16:48:39 2007 +0000
@@ -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 -r 2f8ba16333f2 -r fc64d09978a5 math/genius/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/genius/patches/patch-aa      Wed Mar 07 16:48:39 2007 +0000
@@ -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;
+       }



Home | Main Index | Thread Index | Old Index