aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa/imports-uclibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/mesa/imports-uclibc.patch')
-rw-r--r--main/mesa/imports-uclibc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/mesa/imports-uclibc.patch b/main/mesa/imports-uclibc.patch
new file mode 100644
index 0000000000..d27d5af4d3
--- /dev/null
+++ b/main/mesa/imports-uclibc.patch
@@ -0,0 +1,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(ANDROID) && !defined(__UCLIBC__)
+ static locale_t loc = NULL;
+ if (!loc) {
+ loc = newlocale(LC_CTYPE_MASK, "C", NULL);