summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu-0.15.0/fix-nogl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-0.15.0/fix-nogl.patch')
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.15.0/fix-nogl.patch127
1 files changed, 127 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-0.15.0/fix-nogl.patch b/meta/recipes-devtools/qemu/qemu-0.15.0/fix-nogl.patch
new file mode 100644
index 0000000000..83b2752589
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu-0.15.0/fix-nogl.patch
@@ -0,0 +1,127 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: qemu-0.14.0/Makefile.target
4===================================================================
5--- qemu-0.14.0.orig/Makefile.target
6+++ qemu-0.14.0/Makefile.target
7@@ -79,6 +79,12 @@ libobj-y += cpuid.o
8 endif
9 libobj-$(CONFIG_NEED_MMU) += mmu.o
10 libobj-$(TARGET_I386) += helper_opengl.o opengl_exec.o
11+libobj-$(TARGET_X86_64) += helper_opengl.o opengl_exec.o
12+libobj-$(TARGET_ARM) += dummygl.o
13+libobj-$(TARGET_MIPS) += dummygl.o
14+libobj-$(TARGET_MIPS64) += dummygl.o
15+libobj-$(TARGET_PPC) += dummygl.o
16+libobj-$(TARGET_SH4) += dummygl.o
17 libobj-$(TARGET_ARM) += neon_helper.o iwmmxt_helper.o
18
19 libobj-y += disas.o
20Index: qemu-0.14.0/target-arm/dummygl.c
21===================================================================
22--- /dev/null
23+++ qemu-0.14.0/target-arm/dummygl.c
24@@ -0,0 +1,22 @@
25+#include <string.h>
26+#include <stdlib.h>
27+#include <assert.h>
28+#include <stdint.h>
29+#include <X11/Xlib.h>
30+#include <X11/Xutil.h>
31+
32+void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window)
33+{
34+
35+}
36+
37+void opengl_process_enable(void)
38+{
39+
40+}
41+
42+
43+void mem_opengl(uint64_t ptr)
44+{
45+
46+}
47Index: qemu-0.14.0/target-mips/dummygl.c
48===================================================================
49--- /dev/null
50+++ qemu-0.14.0/target-mips/dummygl.c
51@@ -0,0 +1,22 @@
52+#include <string.h>
53+#include <stdlib.h>
54+#include <assert.h>
55+#include <stdint.h>
56+#include <X11/Xlib.h>
57+#include <X11/Xutil.h>
58+
59+void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window)
60+{
61+
62+}
63+
64+void opengl_process_enable(void)
65+{
66+
67+}
68+
69+
70+void mem_opengl(uint64_t ptr)
71+{
72+
73+}
74Index: qemu-0.14.0/target-ppc/dummygl.c
75===================================================================
76--- /dev/null
77+++ qemu-0.14.0/target-ppc/dummygl.c
78@@ -0,0 +1,22 @@
79+#include <string.h>
80+#include <stdlib.h>
81+#include <assert.h>
82+#include <stdint.h>
83+#include <X11/Xlib.h>
84+#include <X11/Xutil.h>
85+
86+void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window)
87+{
88+
89+}
90+
91+void opengl_process_enable(void)
92+{
93+
94+}
95+
96+
97+void mem_opengl(uint64_t ptr)
98+{
99+
100+}
101Index: qemu-0.14.0/target-sh4/dummygl.c
102===================================================================
103--- /dev/null
104+++ qemu-0.14.0/target-sh4/dummygl.c
105@@ -0,0 +1,22 @@
106+#include <string.h>
107+#include <stdlib.h>
108+#include <assert.h>
109+#include <stdint.h>
110+#include <X11/Xlib.h>
111+#include <X11/Xutil.h>
112+
113+void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window)
114+{
115+
116+}
117+
118+void opengl_process_enable(void)
119+{
120+
121+}
122+
123+
124+void mem_opengl(uint64_t ptr)
125+{
126+
127+}