summaryrefslogtreecommitdiffstats
path: root/main/mesa/mesa-8.0.3-uclibc-strtod.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-20 20:17:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-20 20:17:50 +0000
commitc57650d938f96a544b5d9182c46f698ca0b6950f (patch)
treee55a5f6dfe73285c28f595aba41b18a111d91d3c /main/mesa/mesa-8.0.3-uclibc-strtod.patch
parent15463c312a92067180bb07bdf4448fd221d56d87 (diff)
downloadaports-c57650d938f96a544b5d9182c46f698ca0b6950f.tar.bz2
aports-c57650d938f96a544b5d9182c46f698ca0b6950f.tar.xz
main/mesa: upgrade to 8.0.3
Diffstat (limited to 'main/mesa/mesa-8.0.3-uclibc-strtod.patch')
-rw-r--r--main/mesa/mesa-8.0.3-uclibc-strtod.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/mesa/mesa-8.0.3-uclibc-strtod.patch b/main/mesa/mesa-8.0.3-uclibc-strtod.patch
new file mode 100644
index 000000000..53f4bd3f7
--- /dev/null
+++ b/main/mesa/mesa-8.0.3-uclibc-strtod.patch
@@ -0,0 +1,11 @@
+--- ./src/glsl/strtod.c.orig
++++ ./src/glsl/strtod.c
+@@ -45,7 +45,7 @@
+ glsl_strtod(const char *s, char **end)
+ {
+ #if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \
+- !defined(__HAIKU__)
++ !defined(__HAIKU__) && !defined(__UCLIBC__)
+ static locale_t loc = NULL;
+ if (!loc) {
+ loc = newlocale(LC_CTYPE_MASK, "C", NULL);