aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa/mesa-7.10-uclibc-glsl.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-02-02 23:19:26 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-02-02 23:19:26 -0600
commit13e6cc1fa8c6b6d35d14b02e226fab17e089e08c (patch)
treed8c042bd49cd704da22932077655ea774e3803b2 /main/mesa/mesa-7.10-uclibc-glsl.patch
parent4f29312a0df2b3d2ef5bc50790c5e44e6acffc46 (diff)
downloadaports-13e6cc1fa8c6b6d35d14b02e226fab17e089e08c.tar.bz2
aports-13e6cc1fa8c6b6d35d14b02e226fab17e089e08c.tar.xz
Revert "Revert "main/mesa: upgrade to 7.10""
Diffstat (limited to 'main/mesa/mesa-7.10-uclibc-glsl.patch')
-rw-r--r--main/mesa/mesa-7.10-uclibc-glsl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/mesa/mesa-7.10-uclibc-glsl.patch b/main/mesa/mesa-7.10-uclibc-glsl.patch
new file mode 100644
index 0000000000..df7ee1b3b3
--- /dev/null
+++ b/main/mesa/mesa-7.10-uclibc-glsl.patch
@@ -0,0 +1,11 @@
+--- Mesa-7.10.orig/src/glsl/strtod.c
++++ Mesa-7.10/src/glsl/strtod.c
+@@ -44,7 +44,7 @@
+ double
+ glsl_strtod(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);