aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa/imports-uclibc.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-03-01 09:39:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-03-01 09:39:40 +0000
commit4b5a82a44d8fc972c7c56ed7ac1133473b66fd84 (patch)
tree03e727cc1c6583326a92214ebe9a9a68a6fcddd2 /main/mesa/imports-uclibc.patch
parent64a0857633612750462620d5f53845fab773dfb5 (diff)
downloadaports-4b5a82a44d8fc972c7c56ed7ac1133473b66fd84.tar.bz2
aports-4b5a82a44d8fc972c7c56ed7ac1133473b66fd84.tar.xz
main/mesa: add missing patch
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);