summaryrefslogtreecommitdiffstats
path: root/main/mesa/mesa-8.0.3-uclibc-strtod.patch
blob: 53f4bd3f772768e01215dfc80148faba4d0240dc (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./src/glsl/strtod.c.orig
+++ ./src/glsl/strtod.c
@@ -45,7 +45,7 @@
 glsl_strtod(const char *s, char **end)
 {
 #if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \
-   !defined(__HAIKU__)
+   !defined(__HAIKU__) && !defined(__UCLIBC__)
    static locale_t loc = NULL;
    if (!loc) {
       loc = newlocale(LC_CTYPE_MASK, "C", NULL);