summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/files/replace_glibc_check_with_linux.patch
diff options
context:
space:
mode:
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.patch12
1 files changed, 7 insertions, 5 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 0280ee8599..98f910f89f 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
@@ -1,26 +1,28 @@
1endianness check is OS wide and not specific to libc 1From: Otavio Salvador <otavio@ossystems.com.br>
2Subject: [PATCH] endianness check is OS wide and not specific to libc
2 3
3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4Upstream-Status: Pending 4Upstream-Status: Pending
5 5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
6Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> 7Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
8Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
7--- 9---
8 src/util/u_endian.h | 2 +- 10 src/util/u_endian.h | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-) 11 1 file changed, 1 insertion(+), 1 deletion(-)
10 12
11diff --git a/src/util/u_endian.h b/src/util/u_endian.h 13diff --git a/src/util/u_endian.h b/src/util/u_endian.h
12index b9d563d..2d5eab9 100644 14index 9e09f80181..3148033fae 100644
13--- a/src/util/u_endian.h 15--- a/src/util/u_endian.h
14+++ b/src/util/u_endian.h 16+++ b/src/util/u_endian.h
15@@ -27,7 +27,7 @@ 17@@ -27,7 +27,7 @@
16 #ifndef U_ENDIAN_H 18 #ifndef U_ENDIAN_H
17 #define U_ENDIAN_H 19 #define U_ENDIAN_H
18 20
19-#if defined(__GLIBC__) || defined(ANDROID) 21-#if defined(__GLIBC__) || defined(ANDROID) || defined(__CYGWIN__)
20+#if defined(__linux__) 22+#if defined(__linux__)
21 #include <endian.h> 23 #include <endian.h>
22 24
23 #if __BYTE_ORDER == __LITTLE_ENDIAN 25 #if __BYTE_ORDER == __LITTLE_ENDIAN
24-- 26--
252.1.4 272.15.1
26 28