summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa/0001-Compile-with-uclibc.patch
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-12-06 16:34:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-10 23:43:16 +0000
commit909b3bee33eb50d567ed610caca6a4bad7446eb7 (patch)
tree89b4d85296a242c1471872ca96e7bb8d3929f19c /meta/recipes-graphics/mesa/mesa/0001-Compile-with-uclibc.patch
parentd5ce76dce394dcfa0a92e6a792c838dc6b530118 (diff)
downloadpoky-909b3bee33eb50d567ed610caca6a4bad7446eb7.tar.gz
mesa: bump to 9.0.1
Upgrade Mesa to 9.01, backporting a patch from master to build without needing mesa-dri-glsl-native. Several patches have been merged upstream, so drop them. License checksums updated as the file was re-formated. Drop mesa-dri-glsl-native as we don't need it anymore. Tested with Piglit's "quick" test suite, pass rate remains constant compared to 8.0.5 at 87%. (From OE-Core rev: f816697c1e76589de7853bd5573cf578e25c7ca7) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa/0001-Compile-with-uclibc.patch')
-rw-r--r--meta/recipes-graphics/mesa/mesa/0001-Compile-with-uclibc.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/meta/recipes-graphics/mesa/mesa/0001-Compile-with-uclibc.patch b/meta/recipes-graphics/mesa/mesa/0001-Compile-with-uclibc.patch
deleted file mode 100644
index d39270a48b..0000000000
--- a/meta/recipes-graphics/mesa/mesa/0001-Compile-with-uclibc.patch
+++ /dev/null
@@ -1,52 +0,0 @@
1Compile with uclibc
2
3Upstream-Status: Pending
4---
5 configure.ac | 3 +++
6 src/glsl/strtod.c | 2 +-
7 src/mesa/main/imports.c | 2 +-
8 3 files changed, 5 insertions(+), 2 deletions(-)
9
10diff --git a/configure.ac b/configure.ac
11index fbaa376..454dad2 100644
12--- a/configure.ac
13+++ b/configure.ac
14@@ -543,6 +543,9 @@ AC_SUBST([DLOPEN_LIBS])
15 dnl See if posix_memalign is available
16 AC_CHECK_FUNC([posix_memalign], [DEFINES="$DEFINES -DHAVE_POSIX_MEMALIGN"])
17
18+dnl See if newlocale is available
19+AC_CHECK_FUNCS_ONCE(newlocale)
20+
21 dnl SELinux awareness.
22 AC_ARG_ENABLE([selinux],
23 [AS_HELP_STRING([--enable-selinux],
24diff --git a/src/glsl/strtod.c b/src/glsl/strtod.c
25index a876e13..9fce7e9 100644
26--- a/src/glsl/strtod.c
27+++ b/src/glsl/strtod.c
28@@ -45,7 +45,7 @@ double
29 glsl_strtod(const char *s, char **end)
30 {
31 #if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \
32- !defined(__HAIKU__)
33+ !defined(__HAIKU__) && defined (HAVE_NEWLOCALE)
34 static locale_t loc = NULL;
35 if (!loc) {
36 loc = newlocale(LC_CTYPE_MASK, "C", NULL);
37diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
38index d3727ef..363bf32 100644
39--- a/src/mesa/main/imports.c
40+++ b/src/mesa/main/imports.c
41@@ -767,7 +767,7 @@ float
42 _mesa_strtof( const char *s, char **end )
43 {
44 #if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \
45- !defined(ANDROID) && !defined(__HAIKU__)
46+ !defined(ANDROID) && !defined(__HAIKU__) && defined (HAVE_NEWLOCALE)
47 static locale_t loc = NULL;
48 if (!loc) {
49 loc = newlocale(LC_CTYPE_MASK, "C", NULL);
50--
511.7.10.4
52