summaryrefslogtreecommitdiff
path: root/www/firefox-esr/files/patch-jsfun.c
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-02 18:30:59 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-02 18:30:59 +0000
commited564c5560425a51c9637a8e57b60f76fc32f06c (patch)
tree8826ec8ebd237729679ab296e732886c610e183d /www/firefox-esr/files/patch-jsfun.c
parentNew port: fuhquake (diff)
Add mozilla-firebird after a repo move from phoenix.
Mozilla Firebird is the browser reborn from the ashes of the Phoenix. * Update to 0.6 [1] * Add optional GTK+-2 support [2] * Add [untested] Sparc64 support [3] * Add [untested] Alpha support [4] * Do not compile with -O2 by default. Instead specify -DWITH_OPTIMIZED_CFLAGS to get extra optimizations * Link the Java Plug-in again Submitted by: Stijn Hoop <stijn@win.tue.nl> [1] Christopher Nehren <apeiron@comcast.net> [2] (based on) tmm and kris [3] Bernd Walter <ticso@cicely.de> [4] Minor fixes by: obraun
Notes
Notes: svn path=/head/; revision=82037
Diffstat (limited to 'www/firefox-esr/files/patch-jsfun.c')
-rw-r--r--www/firefox-esr/files/patch-jsfun.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/www/firefox-esr/files/patch-jsfun.c b/www/firefox-esr/files/patch-jsfun.c
new file mode 100644
index 000000000000..69aacb9b54cd
--- /dev/null
+++ b/www/firefox-esr/files/patch-jsfun.c
@@ -0,0 +1,29 @@
+--- js/src/jsfun.c.orig Fri May 30 20:55:38 2003
++++ js/src/jsfun.c Fri May 30 20:54:24 2003
+@@ -1081,7 +1081,7 @@
+ JSString *atomstr;
+ char *propname;
+ JSScopeProperty *sprop;
+- jsid userid;
++ uint32 userid;
+ JSAtom *atom;
+ uintN i, n, dupflag;
+ uint32 type;
+@@ -1157,7 +1157,7 @@
+ userid = INT_TO_JSVAL(sprop->shortid);
+ propname = ATOM_BYTES((JSAtom *)sprop->id);
+ if (!JS_XDRUint32(xdr, &type) ||
+- !JS_XDRUint32(xdr, (uint32 *)&userid) ||
++ !JS_XDRUint32(xdr, &userid) ||
+ !JS_XDRCString(xdr, &propname)) {
+ if (mark)
+ JS_ARENA_RELEASE(&cx->tempPool, mark);
+@@ -1173,7 +1173,7 @@
+ uintN attrs = JSPROP_ENUMERATE | JSPROP_PERMANENT;
+
+ if (!JS_XDRUint32(xdr, &type) ||
+- !JS_XDRUint32(xdr, (uint32 *)&userid) ||
++ !JS_XDRUint32(xdr, &userid) ||
+ !JS_XDRCString(xdr, &propname)) {
+ return JS_FALSE;
+ }