summaryrefslogtreecommitdiffstats
path: root/package/x11r7/mesa3d/mesa3d-bug-3133.patch
blob: 60dfda993981c87e0f76aec5117f12fe4a5810eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/mesa/main/imports.c	2011-02-18 18:26:04.000000000 +0100
+++ bsrc/mesa/main/imports.c	2011-02-18 18:31:05.000000000 +0100
@@ -915,7 +915,7 @@ _mesa_atoi(const char *s)
 double
 _mesa_strtod( const char *s, char **end )
 {
-#ifdef _GNU_SOURCE
+#if defined(_GNU_SOURCE) && !defined(__UCLIBC__)
    static locale_t loc = NULL;
    if (!loc) {
       loc = newlocale(LC_CTYPE_MASK, "C", NULL);