aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/files/replace_glibc_check_with_linux.patch
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2016-11-17 17:21:03 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-23 11:10:16 +0000
commit354d0bc4a38307a866888df64c9e6d9049560c0f (patch)
tree4508601de38559ebe544e1bfefdffee626d94f80 /meta/recipes-graphics/mesa/files/replace_glibc_check_with_linux.patch
parentbfd8c35c3f917e3806c8dfe36c98c70fbccbb3c9 (diff)
downloadopenembedded-core-contrib-354d0bc4a38307a866888df64c9e6d9049560c0f.tar.gz
mesa: Upgrade 12.0.3 -> 13.0.1
New major release with OpenGL 4.4 support. Dependency on libudev has been removed. * Rebase replace_glibc_check_with_linux.patch * Add patch to find native wayland-scanner * Add PACKAGECONFIG[osmesa], disabled by default * package osmesa header correctly (From OE-Core rev: be60ffcbbdcd370f9d367db887d31a8ccc6b2519) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@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/files/replace_glibc_check_with_linux.patch')
-rw-r--r--meta/recipes-graphics/mesa/files/replace_glibc_check_with_linux.patch25
1 files changed, 17 insertions, 8 deletions
diff --git a/meta/recipes-graphics/mesa/files/replace_glibc_check_with_linux.patch b/meta/recipes-graphics/mesa/files/replace_glibc_check_with_linux.patch
index e4461ef177..0280ee8599 100644
--- a/meta/recipes-graphics/mesa/files/replace_glibc_check_with_linux.patch
+++ b/meta/recipes-graphics/mesa/files/replace_glibc_check_with_linux.patch
@@ -2,16 +2,25 @@ endianness check is OS wide and not specific to libc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream-Status: Pending
-Index: mesa-11.1.1/src/gallium/include/pipe/p_config.h
-===================================================================
---- mesa-11.1.1.orig/src/gallium/include/pipe/p_config.h
-+++ mesa-11.1.1/src/gallium/include/pipe/p_config.h
-@@ -130,7 +130,7 @@
- * Endian detection.
- */
+
+Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
+---
+ src/util/u_endian.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/util/u_endian.h b/src/util/u_endian.h
+index b9d563d..2d5eab9 100644
+--- a/src/util/u_endian.h
++++ b/src/util/u_endian.h
+@@ -27,7 +27,7 @@
+ #ifndef U_ENDIAN_H
+ #define U_ENDIAN_H
--#ifdef __GLIBC__
+-#if defined(__GLIBC__) || defined(ANDROID)
+#if defined(__linux__)
#include <endian.h>
#if __BYTE_ORDER == __LITTLE_ENDIAN
+--
+2.1.4
+