aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-06-04 19:59:05 +0800
committermiwi <miwi@FreeBSD.org>2007-06-04 19:59:05 +0800
commit4a895cb8579469784982bcb0fc1f68cea2944019 (patch)
tree5754ee4f1e30e09edb43d843111753ab0dff0797 /lang
parent9646203c01669792d82ec8146ed02ac39557c668 (diff)
downloadfreebsd-ports-graphics-4a895cb8579469784982bcb0fc1f68cea2944019.tar.gz
freebsd-ports-graphics-4a895cb8579469784982bcb0fc1f68cea2944019.tar.zst
freebsd-ports-graphics-4a895cb8579469784982bcb0fc1f68cea2944019.zip
- Fix build with gcc 4.2
PR: 113094 Submitted by: Anish Mistry <amistry@am-productions.biz> Approved by: maintainer
Diffstat (limited to 'lang')
-rw-r--r--lang/spidermonkey/files/patch-jsstr.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/spidermonkey/files/patch-jsstr.c b/lang/spidermonkey/files/patch-jsstr.c
new file mode 100644
index 00000000000..73786acdf88
--- /dev/null
+++ b/lang/spidermonkey/files/patch-jsstr.c
@@ -0,0 +1,19 @@
+
+
+--- patch-jsstr.c begins here ---
+--- jsstr.c.orig Mon Dec 22 01:13:07 2003
++++ jsstr.c Mon May 28 10:46:21 2007
+@@ -1830,6 +1830,8 @@
+ jsdouble d;
+ jsint i, j;
+ uint32 len, limit;
++
++ bzero(&tmp,sizeof(tmp));
+
+ str = js_ValueToString(cx, OBJECT_TO_JSVAL(obj));
+ if (!str)
+
+--- patch-jsstr.c ends here ---
+
+
+