package/qt5/qt5base: fix icu detection in Qt 5.6.3
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 30 Sep 2019 13:51:57 +0000 (16:51 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 26 Oct 2019 09:59:46 +0000 (11:59 +0200)
commit89a82e7210874271d82a255ae7c2ded65b900ff7
treed98741f39bcd5a1f65f75751b5085b837bc22fc2
parentf1e48e343a04a7bff4abd5c9c27555cddb71f7e7
package/qt5/qt5base: fix icu detection in Qt 5.6.3

icu is required to build Q5tWebkit.
When UChar is defined as char16_t in ICU, then qtbase fails to detect ICU.
The issue is described https://bugreports.qt.io/browse/QTBUG-49586

Build fails with following error messages:
...
ustring.h:473:20: error: ‘UChar’ does not name a type
 u_strCompare(const UChar *s1, int32_t length1,
                    ^
          ^
make[2]: *** [Makefile:195: icu.o] Error 1
ICU disabled.
The ICU library support cannot be enabled.

Signed-off-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/qt5/qt5base/5.6.3/0004-fix-icu-build-for-qt5webkit.patch [new file with mode: 0644]