aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mesa/mesa-7.9.1/uclibc.patch
blob: 11cfe2dd434796df5fad255381e815ef20eaea03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: Mesa-7.9/src/mesa/main/imports.c
===================================================================
--- Mesa-7.9.orig/src/mesa/main/imports.c
+++ Mesa-7.9/src/mesa/main/imports.c
@@ -756,7 +756,7 @@ _mesa_strdup( const char *s )
 float
 _mesa_strtof( const char *s, char **end )
 {
-#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__)
+#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && !defined(__UCLIBC__)
    static locale_t loc = NULL;
    if (!loc) {
       loc = newlocale(LC_CTYPE_MASK, "C", NULL);