mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 14:12:26 +00:00
24 lines
859 B
Diff
24 lines
859 B
Diff
Original patch from: gentoo/src/patchsets/glibc/2.9/1018_all_glibc-awk-in-C-locale.patch
|
|
|
|
-= BEGIN original header =-
|
|
http://bugs.gentoo.org/252802
|
|
|
|
2008-12-29 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awk script.
|
|
|
|
-= END original header =-
|
|
|
|
diff -durN glibc-2_9.orig/iconvdata/Makefile glibc-2_9/iconvdata/Makefile
|
|
--- glibc-2_9.orig/iconvdata/Makefile 2008-05-15 03:54:31.000000000 +0200
|
|
+++ glibc-2_9/iconvdata/Makefile 2009-02-02 22:00:50.000000000 +0100
|
|
@@ -286,7 +286,7 @@
|
|
{ echo $(filter-out lib%, $(modules)); \
|
|
echo 8bit $(gen-8bit-modules); \
|
|
echo 8bit-gap $(gen-8bit-gap-modules); } | \
|
|
- $(AWK) 'NR == 1 { \
|
|
+ LC_ALL=C $(AWK) 'NR == 1 { \
|
|
for (i = 1; i <= NF; i++) { \
|
|
printf "%s-routines := %s\n", $$i, tolower($$i); \
|
|
printf "%s-map := gconv.map\n", $$i; \
|