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>
Mon, 7 Oct 2013 08:37:33 +0000 (09:37 +0100)
commit6fef7c319785bcb47a49c0ab7f3a7418e2e86458
tree79f48fb5ff734df927916157f53c28641e182632
parent4081614757978b40aa3d231ef025c6557917163e
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;
|                       ^

(From OE-Core rev: d3d5ccd3275196fb9e4cb8f49d3c087b97c20ed6)

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