aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa/mesa-7.10-uclibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/mesa/mesa-7.10-uclibc.patch')
-rw-r--r--main/mesa/mesa-7.10-uclibc.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/mesa/mesa-7.10-uclibc.patch b/main/mesa/mesa-7.10-uclibc.patch
new file mode 100644
index 0000000000..54d7d8c833
--- /dev/null
+++ b/main/mesa/mesa-7.10-uclibc.patch
@@ -0,0 +1,13 @@
+--- Mesa-7.10/src/mesa/main/imports.c
++++ Mesa-7.10.mod/src/mesa/main/imports.c
+@@ -757,7 +757,7 @@
+ float
+ _mesa_strtof( 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);
+Only in Mesa-7.10.mod: src/mesa/main/imports.c.orig
+Only in Mesa-7.10.mod: src/mesa/main/imports.c.rej