diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2012-08-02 17:49:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-06 15:18:52 +0100 |
commit | c5084487eb7526323684e5389d28352c5787ebd2 (patch) | |
tree | 4b05a4ce6ae7425c469bf2edfe6f183921d25323 /meta/recipes-graphics/mesa/mesa/0001-Compile-with-uclibc.patch | |
parent | abfa907b4c4e682be63b82a14d5f0855d137e3c5 (diff) | |
download | poky-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/0001-Compile-with-uclibc.patch')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa/0001-Compile-with-uclibc.patch | 52 |
1 files changed, 52 insertions, 0 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 new file mode 100644 index 0000000000..d39270a48b --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa/0001-Compile-with-uclibc.patch | |||
@@ -0,0 +1,52 @@ | |||
1 | Compile with uclibc | ||
2 | |||
3 | Upstream-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 | |||
10 | diff --git a/configure.ac b/configure.ac | ||
11 | index 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], | ||
24 | diff --git a/src/glsl/strtod.c b/src/glsl/strtod.c | ||
25 | index 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); | ||
37 | diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c | ||
38 | index 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 | -- | ||
51 | 1.7.10.4 | ||
52 | |||