diff options
Diffstat (limited to 'main/mesa/mesa-7.10-uclibc-glsl.patch')
-rw-r--r-- | main/mesa/mesa-7.10-uclibc-glsl.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/mesa/mesa-7.10-uclibc-glsl.patch b/main/mesa/mesa-7.10-uclibc-glsl.patch new file mode 100644 index 0000000000..df7ee1b3b3 --- /dev/null +++ b/main/mesa/mesa-7.10-uclibc-glsl.patch @@ -0,0 +1,11 @@ +--- Mesa-7.10.orig/src/glsl/strtod.c ++++ Mesa-7.10/src/glsl/strtod.c +@@ -44,7 +44,7 @@ + double + glsl_strtod(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); |