forked from Lainports/freebsd-ports
- Fix build with gcc 4.2
PR: 113094 Submitted by: Anish Mistry <amistry@am-productions.biz> Approved by: maintainer
This commit is contained in:
parent
9f82bdcd4e
commit
cc34db3c75
1 changed files with 19 additions and 0 deletions
19
lang/spidermonkey/files/patch-jsstr.c
Normal file
19
lang/spidermonkey/files/patch-jsstr.c
Normal file
|
|
@ -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 ---
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Reference in a new issue