aboutsummaryrefslogtreecommitdiffstats
path: root/x11/mesa/mesa-7.6.1-uclibc.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-12-24 08:49:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-12-24 08:49:04 +0000
commitf2bc4234551d1d9d335933225e6e33d937e55d2f (patch)
treea02fa9f79ab79fa29c6bb55cf4b4379e1c049dd7 /x11/mesa/mesa-7.6.1-uclibc.patch
parent16a1900562f3283b90069d79788d6455e5b1effd (diff)
downloadaports-f2bc4234551d1d9d335933225e6e33d937e55d2f.tar.bz2
aports-f2bc4234551d1d9d335933225e6e33d937e55d2f.tar.xz
x11/mesa: upgrade to 7.6.1
Diffstat (limited to 'x11/mesa/mesa-7.6.1-uclibc.patch')
-rw-r--r--x11/mesa/mesa-7.6.1-uclibc.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/mesa/mesa-7.6.1-uclibc.patch b/x11/mesa/mesa-7.6.1-uclibc.patch
new file mode 100644
index 0000000000..4a4354d89d
--- /dev/null
+++ b/x11/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);