diff mbox

[5/5] libglib2: do not use xlocale

Message ID 1342646260-11203-6-git-send-email-s.neumann@raumfeld.com
State RFC
Headers show

Commit Message

Sven Neumann July 18, 2012, 9:17 p.m. UTC
The xlocale based implementations of g_ascii_strto{d,ll,ull}
and g_ascii_formatd crash with uClibC 0.9.32 (and probably other
versions as well). So trick the configure script into believing
that this functionality was not available so that the good old
home-grown code is used again (as was the case with glib 2.30).

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
---
 package/libglib2/libglib2.mk |    2 ++
 1 file changed, 2 insertions(+)

Comments

Thomas Petazzoni July 20, 2012, 9:39 p.m. UTC | #1
Le Wed, 18 Jul 2012 23:17:40 +0200,
Sven Neumann <s.neumann@raumfeld.com> a écrit :

> The xlocale based implementations of g_ascii_strto{d,ll,ull}
> and g_ascii_formatd crash with uClibC 0.9.32 (and probably other
> versions as well). So trick the configure script into believing
> that this functionality was not available so that the good old
> home-grown code is used again (as was the case with glib 2.30).
> 
> Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>

Have you tried with uClibc 0.9.33 ? Is there a fix available ?

Thomas
diff mbox

Patch

diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk
index 353c824..6b33215 100644
--- a/package/libglib2/libglib2.mk
+++ b/package/libglib2/libglib2.mk
@@ -45,6 +45,8 @@  LIBGLIB2_CONF_ENV = \
 		ac_cv_path_GLIB_GENMARSHAL=$(HOST_DIR)/usr/bin/glib-genmarshal ac_cv_prog_F77=no \
 		ac_cv_func_posix_getgrgid_r=no \
 		ac_cv_alignof_guint32=4 ac_cv_alignof_guint64=8 ac_cv_alignof_unsigned_long=4 \
+		ac_cv_func_newlocale=no ac_cv_func_uselocale=no \
+		ac_cv_func_strtod_l=no ac_cv_func_strtoll_l=no ac_cv_func_strtoull_l=no \
 		gt_cv_c_wchar_t=$(if $(BR2_USE_WCHAR),yes,no)
 
 # old uClibc versions don't provide qsort_r