www-client/chromium: Fix building with >=dev-libs/re2-0.2020.05.01.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Sat, 2 May 2020 19:28:08 +0000 (19:28 +0000)
committerMike Gilbert <floppym@gentoo.org>
Sun, 3 May 2020 19:56:52 +0000 (15:56 -0400)
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
www-client/chromium/chromium-81.0.4044.129.ebuild
www-client/chromium/chromium-83.0.4103.34.ebuild
www-client/chromium/files/chromium-81-re2-0.2020.05.01.patch [new file with mode: 0644]

index b110b41753b639de9266009190a4b9e4784b9055..15ddde7f89c387f1160ef3aa0973a526f942431f 100644 (file)
@@ -156,6 +156,7 @@ PATCHES=(
        "${FILESDIR}/chromium-81-gcc-constexpr.patch"
        "${FILESDIR}/chromium-81-gcc-10.patch"
        "${FILESDIR}/chromium-81-icu67.patch"
+       "${FILESDIR}/chromium-81-re2-0.2020.05.01.patch"
 )
 
 pre_build_checks() {
index 2cb862a2cb9b4282caf746d5f6167b2a671efea0..65b8d3bdf9c692627c67180f01bb1066700e5137 100644 (file)
@@ -181,6 +181,7 @@ PATCHES=(
        "${FILESDIR}/chromium-83-gcc-serviceworker.patch"
        "${FILESDIR}/chromium-83-gcc-10.patch"
        "${FILESDIR}/chromium-83-icu67.patch"
+       "${FILESDIR}/chromium-81-re2-0.2020.05.01.patch"
 )
 
 pre_build_checks() {
diff --git a/www-client/chromium/files/chromium-81-re2-0.2020.05.01.patch b/www-client/chromium/files/chromium-81-re2-0.2020.05.01.patch
new file mode 100644 (file)
index 0000000..17f5390
--- /dev/null
@@ -0,0 +1,13 @@
+https://chromium.googlesource.com/chromium/src/+/ede390a0b18e4565abf8ac1e1ff717e1d43fc320
+
+--- /components/autofill/core/browser/address_rewriter.cc
++++ /components/autofill/core/browser/address_rewriter.cc
+@@ -57,7 +57,7 @@
+                           CompiledRuleVector* compiled_rules) {
+   base::StringPiece data = data_string;
+   re2::RE2::Options options;
+-  options.set_utf8(true);
++  options.set_encoding(RE2::Options::EncodingUTF8);
+   options.set_word_boundary(true);
+   size_t token_end = 0;