pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/spidermonkey17



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed May 24 13:22:36 UTC 2017

Modified Files:
        pkgsrc/lang/spidermonkey17: distinfo
Added Files:
        pkgsrc/lang/spidermonkey17/patches: patch-js_src_shell_jsoptparse.cpp

Log Message:
Pointer fix, found by GCC 7.1.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/spidermonkey17/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/spidermonkey17/patches/patch-js_src_shell_jsoptparse.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/spidermonkey17/distinfo
diff -u pkgsrc/lang/spidermonkey17/distinfo:1.7 pkgsrc/lang/spidermonkey17/distinfo:1.8
--- pkgsrc/lang/spidermonkey17/distinfo:1.7     Thu Dec 15 23:57:33 2016
+++ pkgsrc/lang/spidermonkey17/distinfo Wed May 24 13:22:36 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2016/12/15 23:57:33 joerg Exp $
+$NetBSD: distinfo,v 1.8 2017/05/24 13:22:36 jperkin Exp $
 
 SHA1 (mozjs17.0.0.tar.gz) = 7805174898c34e5d3c3b256117af9944ba825c89
 RMD160 (mozjs17.0.0.tar.gz) = 2fa3a891da2a7a09019f67c1555c03bcdc51e6c5
@@ -18,5 +18,6 @@ SHA1 (patch-js_src_jsmath.cpp) = 04b0081
 SHA1 (patch-js_src_jsopcode.cpp) = 47d5c742b9d91af1d035f61fd38d491233c1ee87
 SHA1 (patch-js_src_methodjit_MethodJIT.cpp) = f2b12fa554ec319b5848b1cc13ec17ef967b08d7
 SHA1 (patch-js_src_methodjit_TrampolineMIPS.cpp) = d162f8e9a903bd55cf7c92c345a169a8ec050d10
+SHA1 (patch-js_src_shell_jsoptparse.cpp) = d4a8d85c5da316c00409601403fad88dac7882df
 SHA1 (patch-mfbt_double-conversion_utils.h) = d4f2a7c1eb7aa72a147c7f1f4147dfb5fe38ac92
 SHA1 (patch-ml) = fdb4452a613f7ca185cd6b936538bec9ef97c4c1

Added files:

Index: pkgsrc/lang/spidermonkey17/patches/patch-js_src_shell_jsoptparse.cpp
diff -u /dev/null pkgsrc/lang/spidermonkey17/patches/patch-js_src_shell_jsoptparse.cpp:1.1
--- /dev/null   Wed May 24 13:22:36 2017
+++ pkgsrc/lang/spidermonkey17/patches/patch-js_src_shell_jsoptparse.cpp        Wed May 24 13:22:36 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-js_src_shell_jsoptparse.cpp,v 1.1 2017/05/24 13:22:36 jperkin Exp $
+
+Pointer fix.
+
+--- js/src/shell/jsoptparse.cpp.orig   2013-02-11 22:33:23.000000000 +0000
++++ js/src/shell/jsoptparse.cpp
+@@ -243,7 +243,7 @@ OptionParser::extractValue(size_t argc,
+     char *eq = strchr(argv[*i], '=');
+     if (eq) {
+         *value = eq + 1;
+-        if (value[0] == '\0')
++        if (*value[0] == '\0')
+             return error("A value is required for option %.*s", eq - argv[*i], argv[*i]);
+         return Okay;
+     }



Home | Main Index | Thread Index | Old Index