]> code.ossystems Code Review - openembedded-core.git/commit
qemu: fix nativesdk build without x11
authorEric Bénard <eric@eukrea.com>
Sat, 5 Oct 2013 10:11:19 +0000 (12:11 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 6 Oct 2013 08:54:49 +0000 (09:54 +0100)
commitd3d5ccd3275196fb9e4cb8f49d3c087b97c20ed6
treed58b11a722237bbdbfc915dd5912e5255e1eee79
parent97b13a4938bf6879b0108a7716cf73c07e31544c
qemu: fix nativesdk build without x11

when x11 is not defined in DISTRO_FEATURES, there are no x11 headers
so True is not defined leading to :
| ui/sdl.c:62:8: warning: type defaults to 'int' in declaration of 'doing_grabs' [-Wimplicit-int]
|  static doing_grabs = True;
|         ^
| ui/sdl.c:62:22: error: 'True' undeclared here (not in a function)
|  static doing_grabs = True;
|                       ^

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/qemu/files/disable-grabs.patch