aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa/imports-uclibc.patch
blob: d27d5af4d356ba3d2dd72a8cf0d2927c07a565a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./src/mesa/main/imports.c.orig
+++ ./src/mesa/main/imports.c
@@ -767,7 +767,7 @@
 _mesa_strtof( const char *s, char **end )
 {
 #if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \
-    !defined(ANDROID)
+    !defined(ANDROID) && !defined(__UCLIBC__)
    static locale_t loc = NULL;
    if (!loc) {
       loc = newlocale(LC_CTYPE_MASK, "C", NULL);