diff options
Diffstat (limited to 'main/mesa/mesa-7.6.1-uclibc.patch')
-rw-r--r-- | main/mesa/mesa-7.6.1-uclibc.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/main/mesa/mesa-7.6.1-uclibc.patch b/main/mesa/mesa-7.6.1-uclibc.patch new file mode 100644 index 000000000..4a4354d89 --- /dev/null +++ b/main/mesa/mesa-7.6.1-uclibc.patch @@ -0,0 +1,13 @@ +diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c +index 46ffb92..6192fe6 100644 +--- a/src/mesa/main/imports.c ++++ b/src/mesa/main/imports.c +@@ -915,7 +915,7 @@ _mesa_atoi(const char *s) + double + _mesa_strtod( const char *s, char **end ) + { +-#ifdef _GNU_SOURCE ++#if defined(_GNU_SOURCE) && ! defined(__UCLIBC__) + static locale_t loc = NULL; + if (!loc) { + loc = newlocale(LC_CTYPE_MASK, "C", NULL); |