summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/qemu/qemu-git/glflags.patch13
-rw-r--r--meta/packages/qemu/qemu-nativesdk_git.bb4
2 files changed, 16 insertions, 1 deletions
diff --git a/meta/packages/qemu/qemu-git/glflags.patch b/meta/packages/qemu/qemu-git/glflags.patch
new file mode 100644
index 0000000000..fadca25a20
--- /dev/null
+++ b/meta/packages/qemu/qemu-git/glflags.patch
@@ -0,0 +1,13 @@
+Index: git/Makefile.target
+===================================================================
+--- git.orig/Makefile.target 2009-09-17 11:36:06.000000000 +0100
++++ git/Makefile.target 2009-09-17 11:36:12.000000000 +0100
+@@ -748,7 +748,7 @@
+ $(QEMU_PROG): LIBS += $(SDL_LIBS) $(COCOA_LIBS) $(CURSES_LIBS) $(BRLAPI_LIBS) $(VDE_LIBS)
+
+ $(QEMU_PROG): $(OBJS) ../libqemu_common.a libqemu.a
+- $(LINK) -lGL -lGLU
++ $(LINK) -lGL
+
+ endif # !CONFIG_USER_ONLY
+
diff --git a/meta/packages/qemu/qemu-nativesdk_git.bb b/meta/packages/qemu/qemu-nativesdk_git.bb
index 30f59d8b4d..9753d1522f 100644
--- a/meta/packages/qemu/qemu-nativesdk_git.bb
+++ b/meta/packages/qemu/qemu-nativesdk_git.bb
@@ -1,6 +1,8 @@
require qemu_git.bb
require qemu-nativesdk.inc
-PR = "r2"
+SRC_URI += "file://glflags.patch;patch=1"
+
+PR = "r3"
EXTRA_OECONF +="--target-list=arm-linux-user,arm-softmmu,i386-softmmu --disable-vnc-tls --cc=${HOST_PREFIX}gcc"