forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-qt/qtwebengine: Fix build with >=ICU-60
Closes: https://bugs.gentoo.org/639220 Package-Manager: Portage-2.3.16, Repoman-2.3.6
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Fix build with >=ICU-60 | ||
|
||
Bug: https://bugs.gentoo.org/639220 | ||
Bug: https://bugreports.qt.io/browse/QTBUG-64925 | ||
|
||
--- a/src/3rdparty/chromium/components/url_formatter/url_formatter.cc | ||
+++ b/src/3rdparty/chromium/components/url_formatter/url_formatter.cc | ||
@@ -488,7 +488,7 @@ | ||
// are added to the allowed set. The list has to be updated when a new | ||
// version of Unicode is released. The current version is 9.0.0 and ICU 60 | ||
// will have Unicode 10.0 data. | ||
-#if U_ICU_VERSION_MAJOR_NUM < 60 | ||
+#if U_ICU_VERSION_MAJOR_NUM < 60 || defined(TOOLKIT_QT) | ||
const icu::UnicodeSet aspirational_scripts( | ||
icu::UnicodeString( | ||
// Unified Canadian Syllabics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters