9088b71f45
When no UTF-8 locale is available on the host system, uClibc can't generate some stuff it needs to compile a C library with locale support. Unfortunately, as gen_wc8bit message is shown on stdout and the stdout of gen_wc8bit is redirected to a file, the user don't see anything, as reported at http://lists.busybox.net/pipermail/buildroot/2010-May/034177.html. Those two patches fix the problem for uClibc 0.9.31 and 0.9.30.3. It has been submitted upstream: http://lists.uclibc.org/pipermail/uclibc/2010-August/044256.html Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
18 lines
558 B
Diff
18 lines
558 B
Diff
---
|
|
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);
|