pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2017Q1]: pkgsrc/lang/spidermonkey17 Pullup ticket #5465 - requ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/19fc3dfcb30c
branches:  pkgsrc-2017Q1
changeset: 360403:19fc3dfcb30c
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat Jun 03 18:33:37 2017 +0000

description:
Pullup ticket #5465 - requested by sevan
lang/spidermonkey17: bugfix

Revisions pulled up:
- lang/spidermonkey17/distinfo                                  1.8
- lang/spidermonkey17/patches/patch-js_src_shell_jsoptparse.cpp 1.1

---
   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.

diffstat:

 lang/spidermonkey17/distinfo                                  |   3 +-
 lang/spidermonkey17/patches/patch-js_src_shell_jsoptparse.cpp |  15 +++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 2964129b4c08 -r 19fc3dfcb30c lang/spidermonkey17/distinfo
--- a/lang/spidermonkey17/distinfo      Sat Jun 03 18:24:46 2017 +0000
+++ b/lang/spidermonkey17/distinfo      Sat Jun 03 18:33:37 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2016/12/15 23:57:33 joerg Exp $
+$NetBSD: distinfo,v 1.7.4.1 2017/06/03 18:33:37 bsiegert Exp $
 
 SHA1 (mozjs17.0.0.tar.gz) = 7805174898c34e5d3c3b256117af9944ba825c89
 RMD160 (mozjs17.0.0.tar.gz) = 2fa3a891da2a7a09019f67c1555c03bcdc51e6c5
@@ -18,5 +18,6 @@
 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
diff -r 2964129b4c08 -r 19fc3dfcb30c lang/spidermonkey17/patches/patch-js_src_shell_jsoptparse.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/spidermonkey17/patches/patch-js_src_shell_jsoptparse.cpp     Sat Jun 03 18:33:37 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-js_src_shell_jsoptparse.cpp,v 1.1.2.2 2017/06/03 18:33:37 bsiegert 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