* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/qa: bug103483-configure-LANG.patch.txt
@ 2010-03-19 19:13 Samuli Suominen (ssuominen)
0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2010-03-19 19:13 UTC (permalink / raw
To: gentoo-commits
ssuominen 10/03/19 19:13:44
Modified: bug103483-configure-LANG.patch.txt
Log:
Update example patch per 310225
Revision Changes Path
1.2 xml/htdocs/proj/en/qa/bug103483-configure-LANG.patch.txt
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/qa/bug103483-configure-LANG.patch.txt?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/qa/bug103483-configure-LANG.patch.txt?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/qa/bug103483-configure-LANG.patch.txt?r1=1.1&r2=1.2
Index: bug103483-configure-LANG.patch.txt
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/qa/bug103483-configure-LANG.patch.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- bug103483-configure-LANG.patch.txt 7 Jun 2008 12:45:26 -0000 1.1
+++ bug103483-configure-LANG.patch.txt 19 Mar 2010 19:13:43 -0000 1.2
@@ -2,22 +2,27 @@
option parsing, it may break.
http://bugs.gentoo.org/103483
+http://bugs.gentoo.org/122216
+http://bugs.gentoo.org/310225
--- configure
+++ configure
-@@ -54,6 +54,16 @@
+@@ -54,6 +54,19 @@
infodir='${prefix}/info'
mandir='${prefix}/man'
+# NLS nuisances.
-+# Only set these to C if already set. These must not be set unconditionally
-+# because not all systems understand e.g. LANG=C (notably SCO).
-+# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
-+# Non-C LC_CTYPE values break the ctype check.
-+if test "${LANG+set}" = set; then LANG=C; export LANG; fi
-+if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
-+if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
-+if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
++for as_var in \
++ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
++ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
++ LC_TELEPHONE LC_TIME
++do
++ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
++ eval $as_var=C; export $as_var
++ else
++ unset $as_var
++ fi
++done
+
# Initialize some other variables.
subdirs=
@@ -39,3 +44,23 @@
# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
+@@ -1850,6 +1850,19 @@
+ # Compiler output produced by configure, useful for debugging
+ # configure, is in ./config.log if it exists.
+
++# NLS nuisances.
++for as_var in \
++ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
++ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
++ LC_TELEPHONE LC_TIME
++do
++ if (set +x; test -z "`(eval \$as_var=C; export \$as_var) 2>&1`"); then
++ eval \$as_var=C; export \$as_var
++ else
++ unset \$as_var
++ fi
++done
++
+ ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
+ for ac_option
+ do
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-19 19:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-19 19:13 [gentoo-commits] gentoo commit in xml/htdocs/proj/en/qa: bug103483-configure-LANG.patch.txt Samuli Suominen (ssuominen)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox