summaryrefslogtreecommitdiff
path: root/lang/spidermonkey/files/patch-warnings
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-08 21:31:22 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-08 21:31:22 +0000
commitb9f6b0710b43848d1269ae5d03ccf6baa7549050 (patch)
tree08fd3e25add9597e88e2e0ea68ef054d1509f030 /lang/spidermonkey/files/patch-warnings
parent[MAINTAINER UPDATE] games/doom-freedoom: update to version 0.4 (diff)
Spidermonkey version update to 1.5 with fixes for ia64/amd64
Update source to spidermonkey 1.5 and patched (much thanks to Anish Mistry) to fix compilation problems under amd64 (and presumably ia64 too but untested) and to make the build thread-safe. PR: ports/91522 Submitted by: Dan Rench <citric@cubicone.tmetic.com>
Notes
Notes: svn path=/head/; revision=153093
Diffstat (limited to 'lang/spidermonkey/files/patch-warnings')
-rw-r--r--lang/spidermonkey/files/patch-warnings24
1 files changed, 0 insertions, 24 deletions
diff --git a/lang/spidermonkey/files/patch-warnings b/lang/spidermonkey/files/patch-warnings
index 70d717cae5d4..f7877652ac02 100644
--- a/lang/spidermonkey/files/patch-warnings
+++ b/lang/spidermonkey/files/patch-warnings
@@ -227,13 +227,6 @@
+ sharpid = (jsatomid)(uintptr_t)he->value;
if (sharpid == 0) {
*sp = NULL;
-@@ -1104,5 +1104,5 @@
- const JSResolvingKey *key = (const JSResolvingKey *)ptr;
-
-- return ((JSDHashNumber)key->obj >> JSVAL_TAGBITS) ^ key->id;
-+ return ((JSDHashNumber)(uintptr_t)key->obj >> JSVAL_TAGBITS) ^ key->id;
- }
-
--- jsopcode.c Thu Jun 10 00:33:52 2004
+++ jsopcode.c Sat Aug 6 19:13:50 2005
@@ -181,5 +181,5 @@
@@ -254,23 +247,6 @@
+ fprintf(fp, "\n\t%d: %td", i, off);
pc2 += jmplen;
}
-@@ -230,5 +230,5 @@
- {
- jsbytecode *pc2;
-- jsint npairs;
-+ int npairs;
-
- jmplen = (type == JOF_LOOKUPSWITCH) ? JUMP_OFFSET_LEN
-@@ -237,7 +237,7 @@
- off = GetJumpOffset(pc, pc2);
- pc2 += jmplen;
-- npairs = (jsint) GET_ATOM_INDEX(pc2);
-+ npairs = GET_ATOM_INDEX(pc2);
- pc2 += ATOM_INDEX_LEN;
-- fprintf(fp, " offset %d npairs %u", off, (uintN) npairs);
-+ fprintf(fp, " offset %td npairs %d", off, npairs);
- while (npairs) {
- atom = GET_ATOM(cx, script, pc2);
@@ -253,5 +253,5 @@
if (!cstr)
return 0;