summaryrefslogtreecommitdiffstats
path: root/libusb-1.0/libtool-nls.diff
diff options
context:
space:
mode:
Diffstat (limited to 'libusb-1.0/libtool-nls.diff')
-rw-r--r--libusb-1.0/libtool-nls.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/libusb-1.0/libtool-nls.diff b/libusb-1.0/libtool-nls.diff
new file mode 100644
index 0000000..d41b733
--- /dev/null
+++ b/libusb-1.0/libtool-nls.diff
@@ -0,0 +1,22 @@
+--- a/ltmain.sh
++++ b/ltmain.sh
+@@ -105,9 +105,6 @@ _LTECHO_EOF'
+ }
+
+ # NLS nuisances: We save the old values to restore during execute mode.
+-# Only set LANG and LC_ALL to C if already set.
+-# These must not be set unconditionally because not all systems understand
+-# e.g. LANG=C (notably SCO).
+ lt_user_locale=
+ lt_safe_locale=
+ for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
+@@ -120,6 +117,9 @@ do
+ lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
+ fi"
+ done
++LC_ALL=C
++LANGUAGE=C
++export LANGUAGE LC_ALL
+
+ $lt_unset CDPATH
+