thunderbird: added patch

This commit is contained in:
Bartlomiej Palmowski 2009-09-17 19:34:44 +02:00
parent 27eb90d660
commit 70403e5624
3 changed files with 14 additions and 1 deletions

View File

@ -1,2 +1,3 @@
6a2ce7acdbf91e7adbfb64caa7ccf831 elif_fix.patch
080c26dcb0ed563519a6061139a0bf92 thunderbird-2.0.0.22-source.tar.bz2
27a96933666d2cc13cac736620f1b95a thunderbird.desktop

View File

@ -8,10 +8,11 @@ name=thunderbird
version=2.0.0.22
release=1
source=(ftp://ftp.mozilla.org/pub/mozilla.org/$name/releases/$version/source/$name-$version-source.tar.bz2
$name.desktop)
$name.desktop elif_fix.patch)
build() {
cd mozilla
patch -p1 -i ../elif_fix.patch
./configure --prefix=/usr \
--enable-application=mail \
--with-system-{nspr,nss} \

View File

@ -0,0 +1,11 @@
--- mozilla.orig/toolkit/xre/nsAppRunner.cpp 2009-06-28 13:46:49.000000000 -0400
+++ mozilla/toolkit/xre/nsAppRunner.cpp 2009-06-28 13:47:07.000000000 -0400
@@ -1484,7 +1484,7 @@
if (NS_FAILED(rv))
return rv;
-#elif
+#else
#error Oops, you need platform-specific code here
#endif