Fix build with ICU >= 59
authorFabian Vogt <fabian@ritter-vogt.de>
Tue, 22 Aug 2023 13:42:24 +0000 (14:42 +0100)
committerRoberto C. Sánchez <roberto@debian.org>
Tue, 22 Aug 2023 13:42:24 +0000 (14:42 +0100)
commit441f2451a512ad0db5054afd4e8e421eba4ae44c
tree02fa276ec297f3e35e8eda360559d2d82544550e
parente938b1b46c3ccce22003f94c4e4b3907dd6a57ce
Fix build with ICU >= 59

Origin: https://build.opensuse.org/package/view_file/KDE:Qt/libqt4/fix-build-icu59.patch
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898542
Forwarded: not-needed
Reviewd-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
ICU >= 59 requires C++11 for its header files.
Qt can't be compiled with -std=c++11 as a whole, so only enable
it for qlocale_icu.cpp.

Gbp-Pq: Name fix-build-icu59.patch
src/corelib/tools/tools.pri