Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=68371214294e9c4285023076102aeb0f14bddfbc

commit 68371214294e9c4285023076102aeb0f14bddfbc
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Tue Jun 9 23:24:07 2009 +0200

xulrunner-1.8.1.3-4-i686

- add xulrunner-1.8.1.3-bug478843.patch to fix build
- thx hermier for the hg changeset id

diff --git a/source/xlib/xulrunner/FrugalBuild 
b/source/xlib/xulrunner/FrugalBuild
index 7ad35e2..cacbc72 100644
--- a/source/xlib/xulrunner/FrugalBuild
+++ b/source/xlib/xulrunner/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=xulrunner
pkgver=1.8.1.3
-pkgrel=3
+pkgrel=4
pkgdesc="XULRunner is a Mozilla runtime package that can be used to bootstrap 
XUL+XPCOM applications that are as rich as Firefox and Thunderbird."
url="http://developer.mozilla.org/en/docs/XULRunner";
depends=('gtk+2>=2.10.12' 'libidl' 'nss>=3.12')
@@ -14,8 +14,9 @@ options=('scriptlet')
archs=('i686' 'x86_64' 'ppc')
up2date="lynx -dump 
'http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/?C=M;O=D'|grep 
-m1 'releases/[0-9]'|sed 's/.*s\/\(.*\)/\/\1/;s/\///g'"
source=(http://frugalware.org/~alex/tarballs/xulrunner/$pkgname-$pkgver-source.tar.bz2
 \
-       xulrunner-1.8.1.3-bug310924.patch xulrunner-1.8.1.3-bug325644.patch 
newer_nss.patch mozconfig)
-signatures=(${source[0]}.asc '' '' '' '')
+       xulrunner-1.8.1.3-bug310924.patch xulrunner-1.8.1.3-bug325644.patch 
newer_nss.patch mozconfig \
+       xulrunner-1.8.1.3-bug478843.patch)
+signatures=(${source[0]}.asc '' '' '' '' '')
unset MAKEFLAGS
_F_cd_path="mozilla"

diff --git a/source/xlib/xulrunner/xulrunner-1.8.1.3-bug478843.patch 
b/source/xlib/xulrunner/xulrunner-1.8.1.3-bug478843.patch
new file mode 100644
index 0000000..f0ec3ab
--- /dev/null
+++ b/source/xlib/xulrunner/xulrunner-1.8.1.3-bug478843.patch
@@ -0,0 +1,20 @@
+
+# HG changeset patch
+# User Jim Blandy <j...@mozilla.org>
+# Date 1239740085 25200
+# Node ID b528a9e1a777ebab8cd27001edddc831c5305abf
+# Parent be2ecf924da7b55fe6d58980baa8170d6308e773
+bug 478843 - /toolkit/xre/nsAppRunner.cpp:1424:6: error: #elif with no 
expression.  fix=Makoto Kato <m_k...@ga2.so-net.ne.jp>, r=benjamin
+
+--- a/toolkit/xre/nsAppRunner.cpp      Tue Apr 14 14:47:55 2009 -0500
++++ b/toolkit/xre/nsAppRunner.cpp      Tue Apr 14 13:14:45 2009 -0700
+@@ -1484,7 +1484,7 @@ XRE_GetBinaryPath(const char* argv0, nsI
+   if (NS_FAILED(rv))
+     return rv;
+
+-#elif
++#else
+ #error Oops, you need platform-specific code here
+ #endif
+
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to