diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-10-05 12:38:27 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-14 12:53:22 +0100 |
commit | fc63229d9cd2e5061cab0686aba4d18bc3fb4e4f (patch) | |
tree | 188d17db4bd30ed6049f68d98ce56b888facd08e /meta/recipes-devtools/qemu/qemu-0.15.0/init-info.patch | |
parent | 38a394e7ffedccfabda085c97add8944718943c2 (diff) | |
download | openembedded-core-fc63229d9cd2e5061cab0686aba4d18bc3fb4e4f.tar.gz openembedded-core-fc63229d9cd2e5061cab0686aba4d18bc3fb4e4f.tar.bz2 openembedded-core-fc63229d9cd2e5061cab0686aba4d18bc3fb4e4f.tar.xz openembedded-core-fc63229d9cd2e5061cab0686aba4d18bc3fb4e4f.zip |
qemu-0.15: Add recipe and forward port patches from 0.14
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-0.15.0/init-info.patch')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu-0.15.0/init-info.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-0.15.0/init-info.patch b/meta/recipes-devtools/qemu/qemu-0.15.0/init-info.patch new file mode 100644 index 000000000..2250444a2 --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu-0.15.0/init-info.patch @@ -0,0 +1,18 @@ +# This is a workaround to the crashes seen on Ubuntu. Setting info to zero +# makes info.info.x11.display zero and avoids the calls to +# opengl_exec_set_parent_window, one of which is crashing. + +Upstream-Status: Pending + +Index: qemu-0.14.0/ui/sdl.c +=================================================================== +--- qemu-0.14.0.orig/ui/sdl.c ++++ qemu-0.14.0/ui/sdl.c +@@ -863,6 +863,7 @@ void sdl_display_init(DisplayState *ds, + vi = SDL_GetVideoInfo(); + host_format = *(vi->vfmt); + ++ bzero(&info, sizeof(info)); + SDL_GetWMInfo(&info); + if (info.subsystem == SDL_SYSWM_X11 && info.info.x11.display) + opengl_exec_set_parent_window(info.info.x11.display, |