xulrunner: fixed the build with gcc 4.4.
This commit is contained in:
parent
dc702b897b
commit
7eb874757e
@ -1,3 +1,3 @@
|
||||
1012e835a5c130d18479bccdee240640 firefox-3.0.10-source.tar.bz2
|
||||
3a043809a9e0dbf39efe95359fcc5fe7 mozconfig
|
||||
7a5151f90cb360bc1ea911e5cf7208e9 xulrunner.diff
|
||||
36727f8c44071fe974d99676180dec8a xulrunner.diff
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
name=xulrunner
|
||||
version=1.9.0.10
|
||||
release=1
|
||||
release=2
|
||||
source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0.10/source/firefox-3.0.10-source.tar.bz2
|
||||
mozconfig $name.diff)
|
||||
|
||||
|
@ -112,3 +112,15 @@ Index: mozilla/xulrunner/installer/mozilla-nss.pc.in
|
||||
-Cflags: -I${includedir}/stable
|
||||
+Libs: %FULL_NSS_LIBS%
|
||||
+Cflags: %FULL_NSS_CFLAGS%
|
||||
diff -aur mozilla.orig/toolkit/xre/nsAppRunner.cpp mozilla/toolkit/xre/nsAppRunner.cpp
|
||||
--- mozilla.orig/toolkit/xre/nsAppRunner.cpp 2008-11-17 15:36:43.000000000 +0100
|
||||
+++ mozilla/toolkit/xre/nsAppRunner.cpp 2009-05-10 20:38:30.800675740 +0200
|
||||
@@ -1459,7 +1459,7 @@
|
||||
if (NS_FAILED(rv))
|
||||
return rv;
|
||||
|
||||
-#elif
|
||||
+#else
|
||||
#error Oops, you need platform-specific code here
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user