6586986e1c
No standard changelog provided from upstream, some bits scattered here: * http://www.mozilla.org/js/spidermonkey/release-notes/JS_170.html * https://developer.mozilla.org/En/SpiderMonkey/1.8 pkgsrc changes: * Threading support (and dependency on devel/nspr) is now optional (enabled by default). Threaded Spidermonkey may not be desirable for e.g. server-side JavaScript usage. * Unicode strings support optional. * Rudimental OpenSolaris/Solaris 11 config file provided. Release Candidate note: Spidermonkey 1.8.0 RC1 was the last version ever released as a standalone distribution, and is generally being used by the JavaScript community nowaways, if needed. In the future, ripping Spidermonkey out of the Mozilla tarball may be attempted too, to update the package to 1.9.x.
22 lines
802 B
Text
22 lines
802 B
Text
$NetBSD: patch-ab,v 1.4 2010/12/23 12:36:02 fhajny Exp $
|
|
|
|
--- js.c.orig 2008-04-11 22:24:55.000000000 +0000
|
|
+++ js.c
|
|
@@ -1233,7 +1233,7 @@ SrcNotes(JSContext *cx, JSScript *script
|
|
JS_ASSERT(script->code[offset] == JSOP_NOP);
|
|
}
|
|
}
|
|
- fprintf(gOutFile, "%3u: %5u [%4u] %-8s",
|
|
+ fprintf(gOutFile, "%3tu: %5u [%4u] %-8s",
|
|
PTRDIFF(sn, notes, jssrcnote), offset, delta, name);
|
|
switch (type) {
|
|
case SRC_SETLINE:
|
|
@@ -1558,7 +1558,7 @@ DumpScope(JSContext *cx, JSObject *obj,
|
|
DUMP_ATTR(SETTER);
|
|
#undef DUMP_ATTR
|
|
|
|
- fprintf(fp, " slot %lu flags %x shortid %d\n",
|
|
+ fprintf(fp, " slot %u flags %x shortid %d\n",
|
|
(unsigned long)sprop->slot, sprop->flags, sprop->shortid);
|
|
}
|
|
}
|