summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/uClibc-0.9.31.1-fix-error-locale-utf-8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/uClibc/uClibc-0.9.31.1-fix-error-locale-utf-8.patch')
-rw-r--r--toolchain/uClibc/uClibc-0.9.31.1-fix-error-locale-utf-8.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/toolchain/uClibc/uClibc-0.9.31.1-fix-error-locale-utf-8.patch b/toolchain/uClibc/uClibc-0.9.31.1-fix-error-locale-utf-8.patch
new file mode 100644
index 000000000..1305add50
--- /dev/null
+++ b/toolchain/uClibc/uClibc-0.9.31.1-fix-error-locale-utf-8.patch
@@ -0,0 +1,17 @@
+---
+ extra/locale/gen_wc8bit.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: uClibc-0.9.31/extra/locale/gen_wc8bit.c
+===================================================================
+--- uClibc-0.9.31.orig/extra/locale/gen_wc8bit.c
++++ uClibc-0.9.31/extra/locale/gen_wc8bit.c
+@@ -120,7 +120,7 @@
+ }
+
+ locale_failure:
+- printf("could not find a UTF8 locale ... please enable en_US.UTF-8\n");
++ fprintf(stderr, "could not find a UTF8 locale ... please enable en_US.UTF-8\n");
+ return EXIT_FAILURE;
+ locale_success:
+ pclose(fp);