From 43a6e6657f4141696fb27a8797b07dda722fc763 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 17 Sep 2009 11:55:44 +0100 Subject: qemu-nativesdk: Add patch to fix linkage Signed-off-by: Richard Purdie --- meta/packages/qemu/qemu-git/glflags.patch | 13 +++++++++++++ meta/packages/qemu/qemu-nativesdk_git.bb | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 meta/packages/qemu/qemu-git/glflags.patch 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" -- cgit v1.2.3-54-g00ecf