All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] uClibc-0.9.31: Fix build when locales are enabled
@ 2010-08-12 23:34 Khem Raj
  0 siblings, 0 replies; only message in thread
From: Khem Raj @ 2010-08-12 23:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 toolchain/uClibc/uClibc-0.9.31-locale.patch |   34 +++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)
 create mode 100644 toolchain/uClibc/uClibc-0.9.31-locale.patch

diff --git a/toolchain/uClibc/uClibc-0.9.31-locale.patch b/toolchain/uClibc/uClibc-0.9.31-locale.patch
new file mode 100644
index 0000000..945cefd
--- /dev/null
+++ b/toolchain/uClibc/uClibc-0.9.31-locale.patch
@@ -0,0 +1,34 @@
+diff -uNr uClibc-0.9.30.org/libc/sysdeps/linux/common/bits/uClibc_locale.h uClibc-0.9.30/libc/sysdeps/linux/common/bits/uClibc_locale.h
+--- uClibc-0.9.30.org/libc/sysdeps/linux/common/bits/uClibc_locale.h	2009-02-13 13:03:09.000000000 +0100
++++ uClibc-0.9.30/libc/sysdeps/linux/common/bits/uClibc_locale.h	2009-02-13 12:35:07.000000000 +0100
+@@ -41,11 +41,9 @@
+ 
+ # define __LOCALE_C_ONLY
+ 
+-# ifdef _LIBC
+ #  define __XL_NPP(N) N
+ #  define __LOCALE_PARAM
+ #  define __LOCALE_ARG
+-# endif
+ 
+ #endif
+ 
+@@ -90,8 +88,6 @@
+ struct __uclibc_locale_struct;
+ typedef struct __uclibc_locale_struct *__locale_t;
+ 
+-#ifdef _LIBC
+-
+ /* extern void _locale_set(const unsigned char *p); */
+ /* extern void _locale_init(void); */
+ 
+@@ -367,8 +363,6 @@
+ #endif
+ /**********************************************************************/
+ 
+-#endif /* _LIBC */
+-
+ #endif /* !defined(__LOCALE_C_ONLY) */
+ 
+ #endif /* _UCLIBC_LOCALE_H */
+
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-12 23:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-12 23:34 [Buildroot] [PATCH] uClibc-0.9.31: Fix build when locales are enabled Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.