1 |
darkside 09/08/02 18:48:04 |
2 |
|
3 |
Added: 000_flex-configure-LANG.patch |
4 |
Log: |
5 |
bug fixes, proxy commit for mozilla team. |
6 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 net-libs/xulrunner/files/000_flex-configure-LANG.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner/files/000_flex-configure-LANG.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner/files/000_flex-configure-LANG.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: 000_flex-configure-LANG.patch |
15 |
=================================================================== |
16 |
The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in |
17 |
option parsing, it may break. |
18 |
|
19 |
http://bugs.gentoo.org/103483 |
20 |
|
21 |
--- configure~ 2009-07-31 20:07:25.087663220 -0500 |
22 |
+++ configure 2009-07-31 20:07:37.987684452 -0500 |
23 |
@@ -468,6 +468,16 @@ |
24 |
infodir='${prefix}/info' |
25 |
mandir='${prefix}/man' |
26 |
|
27 |
+# NLS nuisances. |
28 |
+# Only set these to C if already set. These must not be set unconditionally |
29 |
+# because not all systems understand e.g. LANG=C (notably SCO). |
30 |
+# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
31 |
+# Non-C LC_CTYPE values break the ctype check. |
32 |
+if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
33 |
+if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
34 |
+if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
35 |
+if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
36 |
+ |
37 |
# Initialize some other variables. |
38 |
subdirs= |
39 |
MFLAGS= MAKEFLAGS= |
40 |
@@ -856,16 +866,6 @@ |
41 |
esac |
42 |
done |
43 |
|
44 |
-# NLS nuisances. |
45 |
-# Only set these to C if already set. These must not be set unconditionally |
46 |
-# because not all systems understand e.g. LANG=C (notably SCO). |
47 |
-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
48 |
-# Non-C LC_CTYPE values break the ctype check. |
49 |
-if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
50 |
-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
51 |
-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
52 |
-if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
53 |
- |
54 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
55 |
rm -rf conftest* confdefs.h |
56 |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |