summaryrefslogtreecommitdiffstats
path: root/main/mesa/imports-uclibc.patch
blob: 19e7e32d72469bf237c7e60a40ffc594fc4d5406 (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(__HAIKU__)
+   !defined(ANDROID) && !defined(__HAIKU__) && !defined(__UCLIBC__)
    static locale_t loc = NULL;
    if (!loc) {
       loc = newlocale(LC_CTYPE_MASK, "C", NULL);