summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa/uclibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa/uclibc.patch')
-rw-r--r--meta/recipes-graphics/mesa/mesa/uclibc.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/meta/recipes-graphics/mesa/mesa/uclibc.patch b/meta/recipes-graphics/mesa/mesa/uclibc.patch
deleted file mode 100644
index 49d0234ece..0000000000
--- a/meta/recipes-graphics/mesa/mesa/uclibc.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1Upstream-Status: Pending
2
3Index: Mesa-7.10.2/src/mesa/main/imports.c
4===================================================================
5--- Mesa-7.10.2.orig/src/mesa/main/imports.c 2011-03-01 12:57:29.000000000 -0800
6+++ Mesa-7.10.2/src/mesa/main/imports.c 2011-07-20 19:08:49.441785510 -0700
7@@ -757,7 +757,7 @@
8 float
9 _mesa_strtof( const char *s, char **end )
10 {
11-#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__)
12+#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && defined (HAVE_NEWLOCALE)
13 static locale_t loc = NULL;
14 if (!loc) {
15 loc = newlocale(LC_CTYPE_MASK, "C", NULL);
16Index: Mesa-7.10.2/src/glsl/strtod.c
17===================================================================
18--- Mesa-7.10.2.orig/src/glsl/strtod.c 2011-01-03 16:45:51.000000000 -0800
19+++ Mesa-7.10.2/src/glsl/strtod.c 2011-07-20 19:10:21.441785488 -0700
20@@ -44,7 +44,7 @@
21 double
22 glsl_strtod(const char *s, char **end)
23 {
24-#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__)
25+#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && defined (HAVE_NEWLOCALE)
26 static locale_t loc = NULL;
27 if (!loc) {
28 loc = newlocale(LC_CTYPE_MASK, "C", NULL);
29Index: Mesa-7.10.2/configure.ac
30===================================================================
31--- Mesa-7.10.2.orig/configure.ac 2011-07-20 19:09:02.000000000 -0700
32+++ Mesa-7.10.2/configure.ac 2011-07-20 19:09:57.121785492 -0700
33@@ -450,6 +450,9 @@
34 dnl See if posix_memalign is available
35 AC_CHECK_FUNC([posix_memalign], [DEFINES="$DEFINES -DHAVE_POSIX_MEMALIGN"])
36
37+dnl See if newlocale is available
38+AC_CHECK_FUNCS_ONCE(newlocale)
39+
40 dnl SELinux awareness.
41 AC_ARG_ENABLE([selinux],
42 [AS_HELP_STRING([--enable-selinux],