aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mesa/mesa-7.9.1/uclibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mesa/mesa-7.9.1/uclibc.patch')
-rw-r--r--recipes/mesa/mesa-7.9.1/uclibc.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/mesa/mesa-7.9.1/uclibc.patch b/recipes/mesa/mesa-7.9.1/uclibc.patch
new file mode 100644
index 0000000000..11cfe2dd43
--- /dev/null
+++ b/recipes/mesa/mesa-7.9.1/uclibc.patch
@@ -0,0 +1,13 @@
+Index: Mesa-7.9/src/mesa/main/imports.c
+===================================================================
+--- Mesa-7.9.orig/src/mesa/main/imports.c
++++ Mesa-7.9/src/mesa/main/imports.c
+@@ -756,7 +756,7 @@ _mesa_strdup( const char *s )
+ 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);