mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
www-client/chromium: Fix building with >=dev-libs/re2-0.2020.05.01.
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
committed by
Mike Gilbert
parent
ca67022493
commit
f4cd99ca1d
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
13
www-client/chromium/files/chromium-81-re2-0.2020.05.01.patch
Normal file
13
www-client/chromium/files/chromium-81-re2-0.2020.05.01.patch
Normal file
@@ -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;
|
||||
Reference in New Issue
Block a user