1 |
commit: daf3009f01504b783a89ce1823b471a546bd855e |
2 |
Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 20 14:11:16 2022 +0000 |
4 |
Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 20 14:11:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daf3009f |
7 |
|
8 |
www-client/chromium: dev channel bump to 100.0.4892.0 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/833619 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org> |
13 |
|
14 |
www-client/chromium/Manifest | 4 +-- |
15 |
....4878.0.ebuild => chromium-100.0.4892.0.ebuild} | 7 ++--- |
16 |
.../chromium-100-FindByDottedPath-nullptr.patch | 35 ++++++++++++++++++++++ |
17 |
3 files changed, 40 insertions(+), 6 deletions(-) |
18 |
|
19 |
diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest |
20 |
index 4729cd5f5657..d4a77beb8b96 100644 |
21 |
--- a/www-client/chromium/Manifest |
22 |
+++ b/www-client/chromium/Manifest |
23 |
@@ -1,5 +1,5 @@ |
24 |
-DIST chromium-100-patchset-2.tar.xz 5236 BLAKE2B e16bec015bd76b0129168e3c74e616d650d6d3e289fca4ecbfe4488ac94da47ba040366c71f0218a0d667ed5e9be67ec490452e83db70dc5b52c468327770b6b SHA512 7acaaca93a7478f7086d01f3bbd24381b14063548106002af050d2a38375b5ad6480167c38b4d7f304774a33fb1ca7806e610970e293812fa843f7c1ee372804 |
25 |
-DIST chromium-100.0.4878.0.tar.xz 1347295152 BLAKE2B f0cf6120bbaad695607440b5ce504ed5922a3378e23000e87296a8634c26caedad7fa9be0f3554c36f7b9da408fc7fb96495951dbf5eef37485ce61f3d9de6bc SHA512 38878447548d01a3b3a0681955c06f448b3bfc9a589aa8610ac233cab50072cb1a11b6d43c24573d79d4837417ceebe8f8f5a0e2ec9d45b9e2251b74659a9435 |
26 |
+DIST chromium-100-patchset-3.tar.xz 4664 BLAKE2B a7f1798b115ad885d4341ba5081e3c3c8c02665d714cede0a65a4b81713e5feab0836ca04405351245603a3818fd4fd7422bdc826112f9972477a55451d5fbf5 SHA512 215d655572fd0629a1a9b7597b3cde27456608c37258818f8fa472e098408e318b2d49d8abc2ed7c5a3ef08130de97b20ab4c05a229feb0e7c9d0620b0431d3e |
27 |
+DIST chromium-100.0.4892.0.tar.xz 1349973152 BLAKE2B c858d0fd76121ab03050b0265a6c969658317afa73b734ef7e91dcde5b13e1ccc3c59e0f5cacd5662ac062e6b6c572788d82a2714a1b380a988cb4db500e080a SHA512 fd6cd5e13a931e9e65132e93936064f0514d6285d91d31319a958fae37c8a96b70340b423e8b7f430209850255a13a9104e1d44ecb9038bb0617fc35cf38a5d3 |
28 |
DIST chromium-98-patchset-5.tar.xz 4928 BLAKE2B f96fb34d5cb3c3ac2c6e327805322e5d6047b0b190a043795de1063c934ca6400800aafaaa4eea7ebad571298b96bf67e48ee0d2d1eb3e0bf23b14932734e026 SHA512 fae1010b91af7e6aa981ea22fc15c32a510b3e78ab71fec73b65290d963dfe6c42e5a2965446803519356858b60cd587018b1b2aea36e112e4d315efbdad7d8f |
29 |
DIST chromium-98.0.4758.102.tar.xz 1242565220 BLAKE2B f3c52961f62697108ee993fb2e5f2117d45f4ec3b1bd31a326f9b10cf3f5e62bbbc6b3dd5257da5fb248df6cf7ad5b8b169d6967ab952916d76a16951cdf81ad SHA512 7bcbeb8c8701b77e6143a811667dbc00d6b36a16b2256ced66d7ad49dafdb1f9fede61811e4ddd2aff478bda604aad5ce675261c2cb5f16722ff6d55bdf803a4 |
30 |
DIST chromium-99-patchset-3.tar.xz 3912 BLAKE2B 79030156e81ebd6b3c348fb429e23d0c866059e047e7cdc0f656a1b1ee290f3afa8b358d0e1df18a86616a35a9a256e7432a5ab4e9b952c7a360aed871236659 SHA512 63d951cb3d17c1d02d9ddbee3a44aca000c5ba2f908012584944ce7fc435aebfe39b9628d4bd043df97c4dd7afa0ad614c65368ca759b64a84654126f06f9ea8 |
31 |
|
32 |
diff --git a/www-client/chromium/chromium-100.0.4878.0.ebuild b/www-client/chromium/chromium-100.0.4892.0.ebuild |
33 |
similarity index 99% |
34 |
rename from www-client/chromium/chromium-100.0.4878.0.ebuild |
35 |
rename to www-client/chromium/chromium-100.0.4892.0.ebuild |
36 |
index dea4a2b373c0..35bf83892d8b 100644 |
37 |
--- a/www-client/chromium/chromium-100.0.4878.0.ebuild |
38 |
+++ b/www-client/chromium/chromium-100.0.4892.0.ebuild |
39 |
@@ -13,7 +13,7 @@ inherit check-reqs chromium-2 desktop flag-o-matic ninja-utils pax-utils python- |
40 |
|
41 |
DESCRIPTION="Open-source version of Google Chrome web browser" |
42 |
HOMEPAGE="https://chromium.org/" |
43 |
-PATCHSET="2" |
44 |
+PATCHSET="3" |
45 |
PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}" |
46 |
SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz |
47 |
https://github.com/stha09/chromium-patches/releases/download/${PATCHSET_NAME}/${PATCHSET_NAME}.tar.xz" |
48 |
@@ -120,7 +120,6 @@ DEPEND="${COMMON_DEPEND} |
49 |
!gtk4? ( x11-libs/gtk+:3[X,wayland?] ) |
50 |
) |
51 |
" |
52 |
-# dev-vcs/git - https://bugs.gentoo.org/593476 |
53 |
BDEPEND=" |
54 |
${COMMON_SNAPSHOT_DEPEND} |
55 |
${PYTHON_DEPS} |
56 |
@@ -131,7 +130,6 @@ BDEPEND=" |
57 |
libcxx? ( >=sys-devel/clang-12 ) |
58 |
dev-lang/perl |
59 |
>=dev-util/gn-0.1807 |
60 |
- dev-vcs/git |
61 |
>=dev-util/gperf-3.0.3 |
62 |
>=dev-util/ninja-1.7.2 |
63 |
>=net-libs/nodejs-7.6.0[inspector] |
64 |
@@ -248,6 +246,7 @@ src_prepare() { |
65 |
"${FILESDIR}/chromium-97-arm-tflite-cast.patch" |
66 |
"${FILESDIR}/chromium-98-EnumTable-crash.patch" |
67 |
"${FILESDIR}/chromium-98-gtk4-build.patch" |
68 |
+ "${FILESDIR}/chromium-100-FindByDottedPath-nullptr.patch" |
69 |
"${FILESDIR}/chromium-use-oauth2-client-switches-as-default.patch" |
70 |
"${FILESDIR}/chromium-shim_headers.patch" |
71 |
"${FILESDIR}/chromium-cross-compile.patch" |
72 |
@@ -1000,7 +999,7 @@ pkg_postinst() { |
73 |
if use screencast; then |
74 |
elog "Screencast is disabled by default at runtime. Either enable it" |
75 |
elog "by navigating to chrome://flags/#enable-webrtc-pipewire-capturer" |
76 |
- elog "inside Chromium or add --enable-webrtc-pipewire-capturer" |
77 |
+ elog "inside Chromium or add --enable-features=WebRTCPipeWireCapturer" |
78 |
elog "to CHROMIUM_FLAGS in /etc/chromium/default." |
79 |
fi |
80 |
if use gtk4; then |
81 |
|
82 |
diff --git a/www-client/chromium/files/chromium-100-FindByDottedPath-nullptr.patch b/www-client/chromium/files/chromium-100-FindByDottedPath-nullptr.patch |
83 |
new file mode 100644 |
84 |
index 000000000000..a8115a6741f8 |
85 |
--- /dev/null |
86 |
+++ b/www-client/chromium/files/chromium-100-FindByDottedPath-nullptr.patch |
87 |
@@ -0,0 +1,35 @@ |
88 |
+From ae21059c1d1aed902da40dd7502fbca9c5cf8e3f Mon Sep 17 00:00:00 2001 |
89 |
+From: Daniel Cheng <dcheng@××××××××.org> |
90 |
+Date: Sat, 19 Feb 2022 21:38:32 -0800 |
91 |
+Subject: [PATCH] Add missing null check in base::Value::Dict::FindByDottedPath() |
92 |
+ |
93 |
+This happens to not crash through sheer luck most of the time. |
94 |
+`GetIfDict()`'s implementation looks like: |
95 |
+ |
96 |
+ return absl::get_if<Value::Dict>(&data_); |
97 |
+ |
98 |
+`data_` is the first member of `base::Value::Dict`, and so `&data_` |
99 |
+evaluates to a null pointer. `absl::get_if<T>()` returns `nullptr` if |
100 |
+the input pointer is null, so it happens to silently (but incorrectly) |
101 |
+work most of the time. |
102 |
+ |
103 |
+Fixed: 1299245 |
104 |
+Change-Id: I95ac65542b27f1ee0f7ce0bdec4575035a953820 |
105 |
+ |
106 |
+(without unittest) |
107 |
+--- |
108 |
+ |
109 |
+diff --git a/base/values.cc b/base/values.cc |
110 |
+index 25feea9..fcb00bf 100644 |
111 |
+--- a/base/values.cc |
112 |
++++ b/base/values.cc |
113 |
+@@ -608,6 +608,9 @@ |
114 |
+ if (!splitter.HasNext()) { |
115 |
+ return current_value; |
116 |
+ } |
117 |
++ if (!current_value) { |
118 |
++ return nullptr; |
119 |
++ } |
120 |
+ current_dict = current_value->GetIfDict(); |
121 |
+ if (!current_dict) { |
122 |
+ return nullptr; |