summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu-0.12.4/fix-nogl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-0.12.4/fix-nogl.patch')
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/fix-nogl.patch96
1 files changed, 96 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/fix-nogl.patch b/meta/recipes-devtools/qemu/qemu-0.12.4/fix-nogl.patch
new file mode 100644
index 0000000000..528b6f0d18
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu-0.12.4/fix-nogl.patch
@@ -0,0 +1,96 @@
1Index: qemu-0.12.4/Makefile.target
2===================================================================
3--- qemu-0.12.4.orig/Makefile.target 2010-06-24 07:59:15.669394205 +0100
4+++ qemu-0.12.4/Makefile.target 2010-06-24 08:07:38.739399512 +0100
5@@ -47,6 +47,10 @@
6 libobj-y += op_helper.o helper.o
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 libobj-$(TARGET_ALPHA) += alpha_palcode.o
15
16Index: qemu-0.12.4/target-arm/dummygl.c
17===================================================================
18--- /dev/null 1970-01-01 00:00:00.000000000 +0000
19+++ qemu-0.12.4/target-arm/dummygl.c 2010-06-24 07:59:15.899401748 +0100
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.12.4/target-mips/dummygl.c
44===================================================================
45--- /dev/null 1970-01-01 00:00:00.000000000 +0000
46+++ qemu-0.12.4/target-mips/dummygl.c 2010-06-24 07:59:15.899401748 +0100
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.12.4/target-ppc/dummygl.c
71===================================================================
72--- /dev/null 1970-01-01 00:00:00.000000000 +0000
73+++ qemu-0.12.4/target-ppc/dummygl.c 2010-06-24 08:07:59.070712946 +0100
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+}