aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa/mesa-8.0.3-uclibc-strtod.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/mesa/mesa-8.0.3-uclibc-strtod.patch')
-rw-r--r--main/mesa/mesa-8.0.3-uclibc-strtod.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/mesa/mesa-8.0.3-uclibc-strtod.patch b/main/mesa/mesa-8.0.3-uclibc-strtod.patch
new file mode 100644
index 0000000000..53f4bd3f77
--- /dev/null
+++ b/main/mesa/mesa-8.0.3-uclibc-strtod.patch
@@ -0,0 +1,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);