summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu-0.13.0/fix-nogl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-0.13.0/fix-nogl.patch')
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/fix-nogl.patch96
1 files changed, 96 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-0.13.0/fix-nogl.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/fix-nogl.patch
new file mode 100644
index 0000000000..fa518abbf7
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/fix-nogl.patch
@@ -0,0 +1,96 @@
1Index: qemu-0.13.0/Makefile.target
2===================================================================
3--- qemu-0.13.0.orig/Makefile.target 2011-01-17 16:53:08.000000000 +0800
4+++ qemu-0.13.0/Makefile.target 2011-01-17 16:53:11.000000000 +0800
5@@ -55,6 +55,10 @@
6 endif
7 libobj-$(CONFIG_NEED_MMU) += mmu.o
8 libobj-$(TARGET_I386) += helper_opengl.o opengl_exec.o
9+libobj-$(TARGET_X86_64) += helper_opengl.o opengl_exec.o
10+libobj-$(TARGET_ARM) += dummygl.o
11+libobj-$(TARGET_MIPS) += dummygl.o
12+libobj-$(TARGET_PPC) += dummygl.o
13 libobj-$(TARGET_ARM) += neon_helper.o iwmmxt_helper.o
14
15 libobj-y += disas.o
16Index: qemu-0.13.0/target-arm/dummygl.c
17===================================================================
18--- /dev/null 1970-01-01 00:00:00.000000000 +0000
19+++ qemu-0.13.0/target-arm/dummygl.c 2011-01-17 16:53:11.000000000 +0800
20@@ -0,0 +1,22 @@
21+#include <string.h>
22+#include <stdlib.h>
23+#include <assert.h>
24+#include <stdint.h>
25+#include <X11/Xlib.h>
26+#include <X11/Xutil.h>
27+
28+void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window)
29+{
30+
31+}
32+
33+void opengl_process_enable(void)
34+{
35+
36+}
37+
38+
39+void mem_opengl(uint64_t ptr)
40+{
41+
42+}
43Index: qemu-0.13.0/target-mips/dummygl.c
44===================================================================
45--- /dev/null 1970-01-01 00:00:00.000000000 +0000
46+++ qemu-0.13.0/target-mips/dummygl.c 2011-01-17 16:53:11.000000000 +0800
47@@ -0,0 +1,22 @@
48+#include <string.h>
49+#include <stdlib.h>
50+#include <assert.h>
51+#include <stdint.h>
52+#include <X11/Xlib.h>
53+#include <X11/Xutil.h>
54+
55+void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window)
56+{
57+
58+}
59+
60+void opengl_process_enable(void)
61+{
62+
63+}
64+
65+
66+void mem_opengl(uint64_t ptr)
67+{
68+
69+}
70Index: qemu-0.13.0/target-ppc/dummygl.c
71===================================================================
72--- /dev/null 1970-01-01 00:00:00.000000000 +0000
73+++ qemu-0.13.0/target-ppc/dummygl.c 2011-01-17 16:53:11.000000000 +0800
74@@ -0,0 +1,22 @@
75+#include <string.h>
76+#include <stdlib.h>
77+#include <assert.h>
78+#include <stdint.h>
79+#include <X11/Xlib.h>
80+#include <X11/Xutil.h>
81+
82+void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window)
83+{
84+
85+}
86+
87+void opengl_process_enable(void)
88+{
89+
90+}
91+
92+
93+void mem_opengl(uint64_t ptr)
94+{
95+
96+}