diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-06-23 23:13:27 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-06-23 23:13:27 +0200 |
commit | 688197d7c210f4eefd25d26dab7c4addf1437a33 (patch) | |
tree | e71c12655af0fb2187399e99ada7edf119dfd8b4 /mozilla-build-sbrk.patch | |
parent | e3872cdaf1715e0245a77b64101e053f936d5306 (diff) |
update Firefox to 3.6.4 (finale)
Diffstat (limited to 'mozilla-build-sbrk.patch')
-rw-r--r-- | mozilla-build-sbrk.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mozilla-build-sbrk.patch b/mozilla-build-sbrk.patch new file mode 100644 index 0000000..e7e8773 --- /dev/null +++ b/mozilla-build-sbrk.patch @@ -0,0 +1,24 @@ +diff -up xulrunner-1.9.2.1/mozilla-1.9.2/js/src/shell/js.cpp.sbrk xulrunner-1.9.2.1/mozilla-1.9.2/js/src/shell/js.cpp +--- xulrunner-1.9.2.1/mozilla-1.9.2/js/src/shell/js.cpp.sbrk 2010-01-06 04:35:17.000000000 +0100 ++++ xulrunner-1.9.2.1/mozilla-1.9.2/js/src/shell/js.cpp 2010-01-13 21:49:33.000000000 +0100 +@@ -1119,7 +1119,7 @@ GC(JSContext *cx, uintN argc, jsval *vp) + char buf[256]; + JS_snprintf(buf, sizeof(buf), "before %lu, after %lu, break %08lx\n", + (unsigned long)preBytes, (unsigned long)rt->gcBytes, +-#ifdef HAVE_SBRK ++#if 0 + (unsigned long)sbrk(0) + #else + 0 +diff -up xulrunner-1.9.2.1/mozilla-1.9.2/js/src/xpconnect/shell/xpcshell.cpp.sbrk xulrunner-1.9.2.1/mozilla-1.9.2/js/src/xpconnect/shell/xpcshell.cpp +--- xulrunner-1.9.2.1/mozilla-1.9.2/js/src/xpconnect/shell/xpcshell.cpp.sbrk 2010-01-06 04:35:19.000000000 +0100 ++++ xulrunner-1.9.2.1/mozilla-1.9.2/js/src/xpconnect/shell/xpcshell.cpp 2010-01-13 22:32:46.000000000 +0100 +@@ -543,7 +543,7 @@ GC(JSContext *cx, JSObject *obj, uintN a + JS_GC(cx); + fprintf(gOutFile, "before %lu, after %lu, break %08lx\n", + (unsigned long)preBytes, (unsigned long)rt->gcBytes, +-#if defined(XP_UNIX) && !defined(__SYMBIAN32__) ++#if 0 //defined(XP_UNIX) && !defined(__SYMBIAN32__) + (unsigned long)sbrk(0) + #else + 0 |