summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2009-03-21 16:30:28 +0000
committerRaúl Porcel <armin76@gentoo.org>2009-03-21 16:30:28 +0000
commit49880b37b19d3c607256ff2ff57f60ea1dd81431 (patch)
tree2c9a1a8963574dfe17a4333cf1ede9ee930fe17f /src/patchsets/mozilla-sunbird
parentAdd new patchset (diff)
downloadgentoo-49880b37b19d3c607256ff2ff57f60ea1dd81431.tar.gz
gentoo-49880b37b19d3c607256ff2ff57f60ea1dd81431.tar.bz2
gentoo-49880b37b19d3c607256ff2ff57f60ea1dd81431.zip
Add new patch that fixes compilation on gcc-4.4
Diffstat (limited to 'src/patchsets/mozilla-sunbird')
-rw-r--r--src/patchsets/mozilla-sunbird/0.9/080_gcc-4.4-elif.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/patchsets/mozilla-sunbird/0.9/080_gcc-4.4-elif.patch b/src/patchsets/mozilla-sunbird/0.9/080_gcc-4.4-elif.patch
new file mode 100644
index 0000000000..9fc4017e33
--- /dev/null
+++ b/src/patchsets/mozilla-sunbird/0.9/080_gcc-4.4-elif.patch
@@ -0,0 +1,12 @@
+diff -Naurp mozilla-orig/toolkit/xre/nsAppRunner.cpp mozilla/toolkit/xre/nsAppRunner.cpp
+--- mozilla-orig/toolkit/xre/nsAppRunner.cpp 2008-11-17 08:36:43.000000000 -0600
++++ mozilla/toolkit/xre/nsAppRunner.cpp 2009-03-01 20:35:11.000000000 -0600
+@@ -1459,7 +1459,7 @@ XRE_GetBinaryPath(const char* argv0, nsI
+ if (NS_FAILED(rv))
+ return rv;
+
+-#elif
++#else
+ #error Oops, you need platform-specific code here
+ #endif
+