commit:     112ec0703736e211689b6bca45d7f6ae702065d4
Author:     Stephan Hartmann <stephan.hartmann <AT> tu-dresden <DOT> de>
AuthorDate: Sat Oct 26 21:31:37 2019 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Oct 27 14:38:48 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=112ec070

www-client/chromium: fix build with icu-65

Closes: https://bugs.gentoo.org/698564
Closes: https://github.com/gentoo/gentoo/pull/13455
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Stephan Hartmann <stha09 <AT> googlemail.com>
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 www-client/chromium/chromium-79.0.3941.4.ebuild    |  1 +
 www-client/chromium/files/chromium-79-icu-65.patch | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/www-client/chromium/chromium-79.0.3941.4.ebuild 
b/www-client/chromium/chromium-79.0.3941.4.ebuild
index 1cb2a50a73e..9e2a2c46130 100644
--- a/www-client/chromium/chromium-79.0.3941.4.ebuild
+++ b/www-client/chromium/chromium-79.0.3941.4.ebuild
@@ -150,6 +150,7 @@ PATCHES=(
        "${FILESDIR}/chromium-79-swiftshader-linux.patch"
        "${FILESDIR}/chromium-79-system-hb.patch"
        "${FILESDIR}/chromium-79-include.patch"
+       "${FILESDIR}/chromium-79-icu-65.patch"
        "${FILESDIR}/chromium-79-gcc-ambiguous-nodestructor.patch"
        "${FILESDIR}/chromium-79-gcc-permissive.patch"
        "${FILESDIR}/chromium-79-gcc-alignas.patch"

diff --git a/www-client/chromium/files/chromium-79-icu-65.patch 
b/www-client/chromium/files/chromium-79-icu-65.patch
new file mode 100644
index 00000000000..e0732b6ace2
--- /dev/null
+++ b/www-client/chromium/files/chromium-79-icu-65.patch
@@ -0,0 +1,13 @@
+diff --git a/third_party/blink/renderer/core/dom/document.cc 
b/third_party/blink/renderer/core/dom/document.cc
+index 5a62770..1fae2aa 100644
+--- a/third_party/blink/renderer/core/dom/document.cc
++++ b/third_party/blink/renderer/core/dom/document.cc
+@@ -6192,7 +6192,7 @@ static ParseQualifiedNameResult 
ParseQualifiedNameInternal(
+ 
+   for (unsigned i = 0; i < length;) {
+     UChar32 c;
+-    U16_NEXT(characters, i, length, c)
++    U16_NEXT(characters, i, length, c);
+     if (c == ':') {
+       if (saw_colon)
+         return ParseQualifiedNameResult(kQNMultipleColons);

Reply via email to