1 |
commit: fab429984552c440fd527eb0c059f54ce269e28e |
2 |
Author: Pawel Hajdan, Jr <phajdan.jr <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 22 22:08:30 2017 +0000 |
4 |
Commit: Paweł Hajdan <phajdan.jr <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 22 22:08:30 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fab42998 |
7 |
|
8 |
www-client/chromium: fix build with system ICU 59 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/627382 |
11 |
|
12 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
13 |
|
14 |
www-client/chromium/chromium-62.0.3188.2.ebuild | 3 ++- |
15 |
www-client/chromium/files/chromium-system-icu-r2.patch | 10 ++++++++++ |
16 |
2 files changed, 12 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/www-client/chromium/chromium-62.0.3188.2.ebuild b/www-client/chromium/chromium-62.0.3188.2.ebuild |
19 |
index 02da775ef7e..baa5f1920f7 100644 |
20 |
--- a/www-client/chromium/chromium-62.0.3188.2.ebuild |
21 |
+++ b/www-client/chromium/chromium-62.0.3188.2.ebuild |
22 |
@@ -25,7 +25,7 @@ COMMON_DEPEND=" |
23 |
cups? ( >=net-print/cups-1.3.11:= ) |
24 |
dev-libs/expat:= |
25 |
dev-libs/glib:2 |
26 |
- system-icu? ( <dev-libs/icu-59:= ) |
27 |
+ system-icu? ( >=dev-libs/icu-59:= ) |
28 |
dev-libs/libxslt:= |
29 |
dev-libs/nspr:= |
30 |
>=dev-libs/nss-3.14.3:= |
31 |
@@ -138,6 +138,7 @@ PATCHES=( |
32 |
"${FILESDIR}/${PN}-FORTIFY_SOURCE-r2.patch" |
33 |
"${FILESDIR}/${PN}-gcc5-r2.patch" |
34 |
"${FILESDIR}/${PN}-gn-bootstrap-r16.patch" |
35 |
+ "${FILESDIR}/${PN}-system-icu-r2.patch" |
36 |
) |
37 |
|
38 |
pre_build_checks() { |
39 |
|
40 |
diff --git a/www-client/chromium/files/chromium-system-icu-r2.patch b/www-client/chromium/files/chromium-system-icu-r2.patch |
41 |
new file mode 100644 |
42 |
index 00000000000..5c12bbb7cf6 |
43 |
--- /dev/null |
44 |
+++ b/www-client/chromium/files/chromium-system-icu-r2.patch |
45 |
@@ -0,0 +1,10 @@ |
46 |
+--- a/build/linux/unbundle/icu.gn |
47 |
++++ b/build/linux/unbundle/icu.gn |
48 |
+@@ -16,6 +16,7 @@ config("icu_config") { |
49 |
+ defines = [ |
50 |
+ "USING_SYSTEM_ICU=1", |
51 |
+ "ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC", |
52 |
++ "UCHAR_TYPE=uint16_t", |
53 |
+ ] |
54 |
+ } |
55 |
+ |