1 |
commit: 38591f8810ec877e3be5965f0ed753c5fcbf9f2b |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 5 00:52:02 2017 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 5 11:21:26 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38591f88 |
7 |
|
8 |
dev-qt/qtwebengine: Fix build with >=ICU-60 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/639220 |
11 |
Package-Manager: Portage-2.3.16, Repoman-2.3.6 |
12 |
|
13 |
.../qtwebengine/files/qtwebengine-5.9.3-icu-60.1.patch | 16 ++++++++++++++++ |
14 |
dev-qt/qtwebengine/qtwebengine-5.9.3.ebuild | 2 ++ |
15 |
2 files changed, 18 insertions(+) |
16 |
|
17 |
diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.9.3-icu-60.1.patch b/dev-qt/qtwebengine/files/qtwebengine-5.9.3-icu-60.1.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..9866ab92919 |
20 |
--- /dev/null |
21 |
+++ b/dev-qt/qtwebengine/files/qtwebengine-5.9.3-icu-60.1.patch |
22 |
@@ -0,0 +1,16 @@ |
23 |
+Fix build with >=ICU-60 |
24 |
+ |
25 |
+Bug: https://bugs.gentoo.org/639220 |
26 |
+Bug: https://bugreports.qt.io/browse/QTBUG-64925 |
27 |
+ |
28 |
+--- a/src/3rdparty/chromium/components/url_formatter/url_formatter.cc |
29 |
++++ b/src/3rdparty/chromium/components/url_formatter/url_formatter.cc |
30 |
+@@ -488,7 +488,7 @@ |
31 |
+ // are added to the allowed set. The list has to be updated when a new |
32 |
+ // version of Unicode is released. The current version is 9.0.0 and ICU 60 |
33 |
+ // will have Unicode 10.0 data. |
34 |
+-#if U_ICU_VERSION_MAJOR_NUM < 60 |
35 |
++#if U_ICU_VERSION_MAJOR_NUM < 60 || defined(TOOLKIT_QT) |
36 |
+ const icu::UnicodeSet aspirational_scripts( |
37 |
+ icu::UnicodeString( |
38 |
+ // Unified Canadian Syllabics |
39 |
|
40 |
diff --git a/dev-qt/qtwebengine/qtwebengine-5.9.3.ebuild b/dev-qt/qtwebengine/qtwebengine-5.9.3.ebuild |
41 |
index 2c0bd6388d5..afb0d89df44 100644 |
42 |
--- a/dev-qt/qtwebengine/qtwebengine-5.9.3.ebuild |
43 |
+++ b/dev-qt/qtwebengine/qtwebengine-5.9.3.ebuild |
44 |
@@ -73,6 +73,8 @@ DEPEND="${RDEPEND} |
45 |
pax_kernel? ( sys-apps/elfix ) |
46 |
" |
47 |
|
48 |
+PATCHES=( "${FILESDIR}/${P}-icu-60.1.patch" ) |
49 |
+ |
50 |
src_prepare() { |
51 |
use pax_kernel && PATCHES+=( "${FILESDIR}/${PN}-5.9.0-paxmark-mksnapshot.patch" ) |