]> code.ossystems Code Review - openembedded-core.git/commit
qt4: fix qt4-native build failure on SLED-11
authorWenzong Fan <wenzong.fan@windriver.com>
Thu, 2 Aug 2012 01:43:02 +0000 (09:43 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Aug 2012 14:21:02 +0000 (15:21 +0100)
commitbb4b71552da0d1f4396955f35db5819f88a7d2ae
tree9d5159538f150488c0f2f1c927f449b20bf246eb
parent5f1af539b3d34e6689a69d09c69d9099eee983d4
qt4: fix qt4-native build failure on SLED-11

This issue is that with C++ compiler process an old version of kernel
header file, coincidently that file has a variable named 'new':

* 'embedded/qkbdtty_qws.cpp' include 'linux/vt.h';
* '/usr/include/linux/vt.h' has below code on SLED-11.x:
    + unsigned int new;

On mostly hosts it has been changed to: new -> newev.

[YOCTO #2845]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-qt/qt4/files/fix_qkbdtty_qws.patch [new file with mode: 0644]
meta/recipes-qt/qt4/qt4-native.inc