1 |
nirbheek 09/07/02 06:17:02 |
2 |
|
3 |
Added: 067-force-bundled-ply.patch |
4 |
Log: |
5 |
Fix building when dev-python/ply is installed, bug 276018. Patch thanks to Hector Martin |
6 |
(Portage version: 2.2_rc33/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 net-libs/xulrunner/files/067-force-bundled-ply.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner/files/067-force-bundled-ply.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner/files/067-force-bundled-ply.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: 067-force-bundled-ply.patch |
15 |
=================================================================== |
16 |
# Patch submitted to force ply support bundled with source. |
17 |
# Hector Martin <hector@××××××××××.com> |
18 |
# Further info can be found at http://bugs.gentoo.org/show_bug.cgi?id=276018 |
19 |
|
20 |
--- mozilla-1.9.1/xpcom/idl-parser/xpidl.py |
21 |
+++ mozilla-1.9.1/xpcom/idl-parser/xpidl.py |
22 |
@@ -42,7 +42,7 @@ |
23 |
|
24 |
import sys, os.path, re |
25 |
|
26 |
-sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, |
27 |
+sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, |
28 |
'other-licenses', 'ply')) |
29 |
from ply import lex, yacc |