summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/files
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2016-10-20 12:06:15 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-28 16:15:19 +0100
commita2e1133b9d36813fa583f4e67c522285692f6764 (patch)
tree23cff38a6dff21a2405188d28d6af003bdcbe8fc /meta/recipes-graphics/mesa/files
parent98e9845e3171e4352849cca0968d70e238d3c38c (diff)
downloadpoky-a2e1133b9d36813fa583f4e67c522285692f6764.tar.gz
mesa: update to 12.0.3
* removed patch was applied mainline * tested on RaspberryPi2 weston / lxqt / kde (From OE-Core rev: 446da72c9d4ca8b4b5d9976fbe41686a7af1c260) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.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')
-rw-r--r--meta/recipes-graphics/mesa/files/clang-compile-PR89599.patch116
1 files changed, 0 insertions, 116 deletions
diff --git a/meta/recipes-graphics/mesa/files/clang-compile-PR89599.patch b/meta/recipes-graphics/mesa/files/clang-compile-PR89599.patch
deleted file mode 100644
index 48bd32567c..0000000000
--- a/meta/recipes-graphics/mesa/files/clang-compile-PR89599.patch
+++ /dev/null
@@ -1,116 +0,0 @@
1From 5ec140c17b54c25920091501b665b9aa809cc5e8 Mon Sep 17 00:00:00 2001
2From: Matt Turner <mattst88@gmail.com>
3Date: Mon, 11 Jul 2016 10:44:25 -0700
4Subject: mapi: Massage code to allow clang to compile.
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9According to https://llvm.org/bugs/show_bug.cgi?id=19778#c3 this code
10was violating the spec, resulting in it failing to compile.
11
12Cc: mesa-stable@lists.freedesktop.org
13Co-authored-by: Tomasz Paweł Gajc <tpgxyz@gmail.com>
14Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89599
15Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
16
17Upstream-Status: Backport
18Signed-off-by: Khem Raj <raj.khem@gmail.com>
19
20diff --git a/configure.ac b/configure.ac
21index 3799d8d..1ca8359 100644
22--- a/configure.ac
23+++ b/configure.ac
24@@ -226,6 +226,7 @@ AX_GCC_FUNC_ATTRIBUTE([packed])
25 AX_GCC_FUNC_ATTRIBUTE([pure])
26 AX_GCC_FUNC_ATTRIBUTE([returns_nonnull])
27 AX_GCC_FUNC_ATTRIBUTE([unused])
28+AX_GCC_FUNC_ATTRIBUTE([visibility])
29 AX_GCC_FUNC_ATTRIBUTE([warn_unused_result])
30 AX_GCC_FUNC_ATTRIBUTE([weak])
31
32diff --git a/src/mapi/entry_x86-64_tls.h b/src/mapi/entry_x86-64_tls.h
33index 38faccc..c5262a1 100644
34--- a/src/mapi/entry_x86-64_tls.h
35+++ b/src/mapi/entry_x86-64_tls.h
36@@ -25,6 +25,11 @@
37 * Chia-I Wu <olv@lunarg.com>
38 */
39
40+#ifdef HAVE_FUNC_ATTRIBUTE_VISIBIITY
41+#define HIDDEN __attribute__((visibility("hidden")))
42+#else
43+#define HIDDEN
44+#endif
45
46 __asm__(".text\n"
47 ".balign 32\n"
48@@ -54,8 +59,8 @@ entry_patch_public(void)
49 {
50 }
51
52-static char
53-x86_64_entry_start[];
54+extern char
55+x86_64_entry_start[] HIDDEN;
56
57 mapi_func
58 entry_get_public(int slot)
59diff --git a/src/mapi/entry_x86_tls.h b/src/mapi/entry_x86_tls.h
60index 46d2ece..231b409 100644
61--- a/src/mapi/entry_x86_tls.h
62+++ b/src/mapi/entry_x86_tls.h
63@@ -27,6 +27,12 @@
64
65 #include <string.h>
66
67+#ifdef HAVE_FUNC_ATTRIBUTE_VISIBIITY
68+#define HIDDEN __attribute__((visibility("hidden")))
69+#else
70+#define HIDDEN
71+#endif
72+
73 __asm__(".text");
74
75 __asm__("x86_current_tls:\n\t"
76@@ -71,8 +77,8 @@ __asm__(".text");
77 extern unsigned long
78 x86_current_tls();
79
80-static char x86_entry_start[];
81-static char x86_entry_end[];
82+extern char x86_entry_start[] HIDDEN;
83+extern char x86_entry_end[] HIDDEN;
84
85 void
86 entry_patch_public(void)
87diff --git a/src/mapi/entry_x86_tsd.h b/src/mapi/entry_x86_tsd.h
88index ea7bacb..03d9735 100644
89--- a/src/mapi/entry_x86_tsd.h
90+++ b/src/mapi/entry_x86_tsd.h
91@@ -25,6 +25,11 @@
92 * Chia-I Wu <olv@lunarg.com>
93 */
94
95+#ifdef HAVE_FUNC_ATTRIBUTE_VISIBIITY
96+#define HIDDEN __attribute__((visibility("hidden")))
97+#else
98+#define HIDDEN
99+#endif
100
101 #define X86_ENTRY_SIZE 32
102
103@@ -58,8 +63,8 @@ __asm__(".balign 32\n"
104 #include <string.h>
105 #include "u_execmem.h"
106
107-static const char x86_entry_start[];
108-static const char x86_entry_end[];
109+extern const char x86_entry_start[] HIDDEN;
110+extern const char x86_entry_end[] HIDDEN;
111
112 void
113 entry_patch_public(void)
114--
115cgit v0.10.2
116