summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-07-20 06:17:58 +0000
committerMike Frysinger <vapier@gentoo.org>2006-07-20 06:17:58 +0000
commit75e3e2cb73af4d3f0423522fdac63be94cff122d (patch)
treea387b63aa113a2eef6aae31c77e3b26553f0ee80
parentStable x86 gcc4.1 (diff)
downloadgentoo-2-75e3e2cb73af4d3f0423522fdac63be94cff122d.tar.gz
gentoo-2-75e3e2cb73af4d3f0423522fdac63be94cff122d.tar.bz2
gentoo-2-75e3e2cb73af4d3f0423522fdac63be94cff122d.zip
update patch
-rw-r--r--sys-libs/gpm/files/gpm-configure-LANG.patch41
1 files changed, 32 insertions, 9 deletions
diff --git a/sys-libs/gpm/files/gpm-configure-LANG.patch b/sys-libs/gpm/files/gpm-configure-LANG.patch
index 3ef76ef911c0..d1b1b0353662 100644
--- a/sys-libs/gpm/files/gpm-configure-LANG.patch
+++ b/sys-libs/gpm/files/gpm-configure-LANG.patch
@@ -5,19 +5,22 @@ http://bugs.gentoo.org/103483
--- 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 +42,23 @@ http://bugs.gentoo.org/103483
# 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