rpms/xulrunner/devel mozilla-build-sbrk.patch,1.1,1.2
Martin Stransky
stransky at fedoraproject.org
Wed Jan 13 20:56:52 UTC 2010
Author: stransky
Update of /cvs/pkgs/rpms/xulrunner/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13270
Modified Files:
mozilla-build-sbrk.patch
Log Message:
Build fix
mozilla-build-sbrk.patch:
js.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: mozilla-build-sbrk.patch
===================================================================
RCS file: /cvs/pkgs/rpms/xulrunner/devel/mozilla-build-sbrk.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- mozilla-build-sbrk.patch 13 Jan 2010 12:21:01 -0000 1.1
+++ mozilla-build-sbrk.patch 13 Jan 2010 20:56:51 -0000 1.2
@@ -1,10 +1,11 @@
---- mozilla-1.9.2/js/src/shell/js.cpp.old 2010-01-06 04:35:17.000000000 +0100
-+++ mozilla-1.9.2/js/src/shell/js.cpp 2010-01-13 13:12:02.000000000 +0100
-@@ -48,6 +48,7 @@
- #include <string.h>
- #include <signal.h>
- #include <locale.h>
-+#include <unistd.h>
- #include "jstypes.h"
- #include "jsarena.h"
- #include "jsutil.h"
+--- mozilla-1.9.2/js/src/shell/js.cpp.sbrk 2010-01-06 04:35:17.000000000 +0100
++++ mozilla-1.9.2/js/src/shell/js.cpp 2010-01-13 21:47:40.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
More information about the scm-commits
mailing list