pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/spidermonkey17 Pointers are not ordered relative ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ffa749d574eb
branches:  trunk
changeset: 355934:ffa749d574eb
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 15 23:57:33 2016 +0000

description:
Pointers are not ordered relative to 0.

diffstat:

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

diffs (36 lines):

diff -r 27275390ab3c -r ffa749d574eb lang/spidermonkey17/distinfo
--- a/lang/spidermonkey17/distinfo      Thu Dec 15 23:57:16 2016 +0000
+++ b/lang/spidermonkey17/distinfo      Thu Dec 15 23:57:33 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2016/10/05 02:52:06 maya Exp $
+$NetBSD: distinfo,v 1.7 2016/12/15 23:57:33 joerg Exp $
 
 SHA1 (mozjs17.0.0.tar.gz) = 7805174898c34e5d3c3b256117af9944ba825c89
 RMD160 (mozjs17.0.0.tar.gz) = 2fa3a891da2a7a09019f67c1555c03bcdc51e6c5
@@ -15,6 +15,7 @@
 SHA1 (patch-js_src_jsgc.cpp) = 0e617094a4b7d87cdf801d9bc4ac1f52d909a12a
 SHA1 (patch-js_src_jsinterp.cpp) = bee8bdde7dd951dbfbe5b049eb502f7412fbf8e6
 SHA1 (patch-js_src_jsmath.cpp) = 04b0081e5abc1de3df5bdfc78db3971fe77da3d4
+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-mfbt_double-conversion_utils.h) = d4f2a7c1eb7aa72a147c7f1f4147dfb5fe38ac92
diff -r 27275390ab3c -r ffa749d574eb lang/spidermonkey17/patches/patch-js_src_jsopcode.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/spidermonkey17/patches/patch-js_src_jsopcode.cpp     Thu Dec 15 23:57:33 2016 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-js_src_jsopcode.cpp,v 1.1 2016/12/15 23:57:33 joerg Exp $
+
+Comparing char * with 0 makes no sense.
+
+--- js/src/jsopcode.cpp.orig   2016-12-10 20:52:30.687253594 +0000
++++ js/src/jsopcode.cpp
+@@ -6067,7 +6067,7 @@ ExpressionDecompiler::write(JSString *s)
+ bool
+ ExpressionDecompiler::quote(JSString *s, uint32_t quote)
+ {
+-    return QuoteString(&sprinter, s, quote) >= 0;
++    return QuoteString(&sprinter, s, quote) != 0;
+ }
+ 
+ JSAtom *



Home | Main Index | Thread Index | Old Index