summaryrefslogtreecommitdiff
path: root/meta/packages/qemu/qemu-git/fix-nogl.patch
blob: 6cb812f00ca39d0a0f2e325915746113db128e49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Index: git/Makefile.target
===================================================================
--- git.orig/Makefile.target	2009-06-09 22:05:27.000000000 +0100
+++ git/Makefile.target	2009-06-09 22:05:28.000000000 +0100
@@ -155,6 +155,8 @@
 
 ifeq ($(TARGET_BASE_ARCH), i386)
 LIBOBJS+=helper_opengl.o opengl_exec.o
+else
+LIBOBJS+=dummygl.o
 endif
 
 ifeq ($(TARGET_BASE_ARCH), arm)
Index: git/target-arm/dummygl.c
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ git/target-arm/dummygl.c	2009-06-09 22:15:55.000000000 +0100
@@ -0,0 +1,22 @@
+#include <string.h>
+#include <stdlib.h>
+#include <assert.h>
+#include <stdint.h>
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
+
+void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window)
+{
+
+}
+
+void opengl_process_enable(void)
+{
+
+}
+
+
+void mem_opengl(uint64_t ptr)
+{
+
+}
Index: git/target-mips/dummygl.c
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ git/target-mips/dummygl.c	2009-06-09 22:15:55.000000000 +0100
@@ -0,0 +1,22 @@
+#include <string.h>
+#include <stdlib.h>
+#include <assert.h>
+#include <stdint.h>
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
+
+void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window)
+{
+
+}
+
+void opengl_process_enable(void)
+{
+
+}
+
+
+void mem_opengl(uint64_t ptr)
+{
+
+}