From: | "Nirbheek Chauhan (nirbheek)" <nirbheek@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/xulrunner/files: 066-fix-includedir-mozilla-js.patch |
Date: | Mon, 29 Jun 2009 16:42:06 |
Message-Id: | E1MLJvg-0005mq-Kt@stork.gentoo.org |
1 | nirbheek 09/06/29 16:42:04 |
2 | |
3 | Added: 066-fix-includedir-mozilla-js.patch |
4 | Log: |
5 | Add patch to fix mozilla-js.pc to have the correct path. Changes no code, unbreaks a lot of apps (like bug 275318), and will not break anything. Straight to stable! Muahahaha. (arch teams don't really have anything to do here) |
6 | (Portage version: 2.2_rc33/cvs/Linux i686, RepoMan options: --force) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-libs/xulrunner/files/066-fix-includedir-mozilla-js.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner/files/066-fix-includedir-mozilla-js.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner/files/066-fix-includedir-mozilla-js.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: 066-fix-includedir-mozilla-js.patch |
15 | =================================================================== |
16 | mozjs stuff is actually in /unstable not in /stable |
17 | |
18 | Causes bugs like http://bugs.gentoo.org/275318 |
19 | |
20 | Upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=500645 |
21 | |
22 | Will likely be fixed in 1.9.2 |
23 | |
24 | --- |
25 | --- xulrunner/installer/mozilla-js.pc.in 2009-06-26 08:37:34.458635913 -0500 |
26 | +++ xulrunner/installer/mozilla-js.pc.in 2009-06-26 08:38:13.623656097 -0500 |
27 | @@ -1,10 +1,11 @@ |
28 | prefix=%prefix% |
29 | sdkdir=%sdkdir% |
30 | includedir=%includedir% |
31 | +includetypes=unstable |
32 | |
33 | Name: JavaScript |
34 | Description: The Mozilla JavaScript Library |
35 | Version: %MOZILLA_VERSION% |
36 | Requires: %NSPR_NAME% >= %NSPR_VERSION% |
37 | Libs: -L${sdkdir}/lib -lmozjs |
38 | -Cflags: -I${includedir}/stable -DXP_UNIX -DJS_THREADSAFE |
39 | +Cflags: -I${includedir}/${includetypes} -DXP_UNIX -DJS_THREADSAFE |