summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa/uclibc.patch
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2012-08-02 17:49:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-06 15:18:52 +0100
commitc5084487eb7526323684e5389d28352c5787ebd2 (patch)
tree4b05a4ce6ae7425c469bf2edfe6f183921d25323 /meta/recipes-graphics/mesa/mesa/uclibc.patch
parentabfa907b4c4e682be63b82a14d5f0855d137e3c5 (diff)
downloadpoky-c5084487eb7526323684e5389d28352c5787ebd2.tar.gz
mesa: Update to 8.0.4 (latest stable version)
- The license file has changed, but the project still has the same license - Patches have been rebased on top of the 8.0 branch. crossfix.patch and crossfix-mklib.patch have been merged as they address the same problem (From OE-Core rev: e4039eb74b20e96d4b8837cd58cf2d13d091e1ad) Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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],