1 |
commit: b6b6967abf2aad785a656cbf66c4660d35e0b0c6 |
2 |
Author: Stephan Hartmann <stha09 <AT> googlemail <DOT> com> |
3 |
AuthorDate: Wed Feb 26 15:51:10 2020 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 27 16:22:23 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6b6967a |
7 |
|
8 |
www-client/chromium: dev channel bump to 82.0.4068.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Stephan Hartmann <stha09 <AT> googlemail.com> |
12 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/14789 |
14 |
|
15 |
www-client/chromium/Manifest | 2 +- |
16 |
...0.4056.3.ebuild => chromium-82.0.4068.4.ebuild} | 7 ++-- |
17 |
.../chromium/files/chromium-82-gcc-constexpr.patch | 34 ++++++++++++++++ |
18 |
.../chromium/files/chromium-82-gcc-default.patch | 35 ---------------- |
19 |
.../files/chromium-82-gcc-has-feature.patch | 35 ---------------- |
20 |
.../chromium/files/chromium-82-gcc-noexcept.patch | 13 ------ |
21 |
.../chromium/files/chromium-82-gcc-private.patch | 47 ++++++++++++++++++++++ |
22 |
.../chromium/files/chromium-82-include.patch | 28 +++++++++++++ |
23 |
8 files changed, 113 insertions(+), 88 deletions(-) |
24 |
|
25 |
diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest |
26 |
index e6fe4000476..57544bd002f 100644 |
27 |
--- a/www-client/chromium/Manifest |
28 |
+++ b/www-client/chromium/Manifest |
29 |
@@ -1,4 +1,4 @@ |
30 |
DIST chromium-80.0.3987.100.tar.xz 801377116 BLAKE2B 0c99b78794a0c04bcc45fd423d0fabb7db4c9e37ae446b46c33a7b4a98ecc1af9302680e84118809f01dd3bee50b68a301ff0bdd72c5704c028c7984bac812f3 SHA512 b8612693158f9a497723391ed80dd06b152ed71b29e2722a751f94b297e184f09f786405d2c5b460aff6f62c9c6292c673b36019ff72f1fb662cc418cc26127d |
31 |
DIST chromium-80.0.3987.122.tar.xz 801340492 BLAKE2B 3f3015346120735c0d04268606fd61ddf57d63e042efe77d7e701fdc9609038a06cbc9380c6d90cb7324dc1679e62c86d971f36bd66f676bd2b16bc4c391bd0f SHA512 3a022c55f5745f2cfb7e28efb113f78ff686da638cd02f0585ef1ae8620f81ece864bc27b4e0a88daf3f409ff565a9b80b8859d1fd7d62c8b1d26cb8b311acc5 |
32 |
DIST chromium-81.0.4044.26.tar.xz 791360936 BLAKE2B e7364ba1c3e1a586224fd2b15d5942f992d9b1a765a595225e985f273d33a784a1c67d613da842dd35021d3791bd34087073e50f122386c2d5ae23c4b320e0e8 SHA512 62884b6247d070e05e6e588d39b7a0f6027c3073d464fce9ca810df42f8c26d2d387479ab84d55ef6fd5c24e3311e299c3a0760497f48f528b7b288edc8878d4 |
33 |
-DIST chromium-82.0.4056.3.tar.xz 796919020 BLAKE2B 89d010fef567b3b3f76614f8097697f71b5b1222faaa9738c639001748d8fc103eef0c6b0c90154be36e2deeb5b7c2b1b5a61c9fe7c11836d8723819466c265e SHA512 83a160ffad9f9b10fb498b61e0f6427ee88fe73928d5956b60e7bd0690bb279c1fa749105c4996da67d1ade80d62e9ccad0b9a8bfb3691a17574ad22399ae55d |
34 |
+DIST chromium-82.0.4068.4.tar.xz 803352676 BLAKE2B 64356b7c840d6ba955d2b7aced1faf85e05f19c9c0b39e8bf86529b86bba2e162404820f5710e9962c4d5e1325086becc3aebb0fdc2683b06231a2a0e8d7a6ae SHA512 ceb3b50ad4b38e969cf27c386d696665d773e73c000a1cd1ee158bbff86ae94b09a5fbe128547ed496e258ce8bfaf9bbf28b0d229254400c86afbe49fc7e8d8b |
35 |
|
36 |
diff --git a/www-client/chromium/chromium-82.0.4056.3.ebuild b/www-client/chromium/chromium-82.0.4068.4.ebuild |
37 |
similarity index 99% |
38 |
rename from www-client/chromium/chromium-82.0.4056.3.ebuild |
39 |
rename to www-client/chromium/chromium-82.0.4068.4.ebuild |
40 |
index af1778f7e9b..a056ee3c4d4 100644 |
41 |
--- a/www-client/chromium/chromium-82.0.4056.3.ebuild |
42 |
+++ b/www-client/chromium/chromium-82.0.4068.4.ebuild |
43 |
@@ -145,10 +145,9 @@ PATCHES=( |
44 |
"${FILESDIR}/chromium-79-gcc-alignas.patch" |
45 |
"${FILESDIR}/chromium-80-gcc-quiche.patch" |
46 |
"${FILESDIR}/chromium-80-gcc-blink.patch" |
47 |
- "${FILESDIR}/chromium-81-gcc-constexpr.patch" |
48 |
- "${FILESDIR}/chromium-82-gcc-noexcept.patch" |
49 |
- "${FILESDIR}/chromium-82-gcc-has-feature.patch" |
50 |
- "${FILESDIR}/chromium-82-gcc-default.patch" |
51 |
+ "${FILESDIR}/chromium-82-gcc-constexpr.patch" |
52 |
+ "${FILESDIR}/chromium-82-gcc-private.patch" |
53 |
+ "${FILESDIR}/chromium-82-include.patch" |
54 |
) |
55 |
|
56 |
pre_build_checks() { |
57 |
|
58 |
diff --git a/www-client/chromium/files/chromium-82-gcc-constexpr.patch b/www-client/chromium/files/chromium-82-gcc-constexpr.patch |
59 |
new file mode 100644 |
60 |
index 00000000000..139b458c196 |
61 |
--- /dev/null |
62 |
+++ b/www-client/chromium/files/chromium-82-gcc-constexpr.patch |
63 |
@@ -0,0 +1,34 @@ |
64 |
+From 5812cd9bc2c15a034db24e0d2a43cc923d8a66cc Mon Sep 17 00:00:00 2001 |
65 |
+From: Jose Dapena Paz <jdapena@××××××.com> |
66 |
+Date: Thu, 20 Feb 2020 13:00:16 +0100 |
67 |
+Subject: [PATCH] GCC: DOMRect constexpr equal operator depends on non constexpr operators |
68 |
+ |
69 |
+Make accessors of DOMRectReadOnly constexpr so the equal operator can be |
70 |
+also constexpr. |
71 |
+ |
72 |
+../../third_party/blink/renderer/core/geometry/dom_rect.h: In function ‘constexpr bool blink::operator==(const blink::DOMRect&, const blink::DOMRect&)’: |
73 |
+../../third_party/blink/renderer/core/geometry/dom_rect.h:38:15: error: call to non-‘constexpr’ function ‘double blink::DOMRectReadOnly::x() const’ |
74 |
+ |
75 |
+Bug: 819294 |
76 |
+Change-Id: Ic1fed89c5480ce4eedaaf7add2779d000b77cc48 |
77 |
+--- |
78 |
+ |
79 |
+diff --git a/third_party/blink/renderer/core/geometry/dom_rect_read_only.h b/third_party/blink/renderer/core/geometry/dom_rect_read_only.h |
80 |
+index 77398f0..dda1f33 100644 |
81 |
+--- a/third_party/blink/renderer/core/geometry/dom_rect_read_only.h |
82 |
++++ b/third_party/blink/renderer/core/geometry/dom_rect_read_only.h |
83 |
+@@ -30,10 +30,10 @@ |
84 |
+ |
85 |
+ DOMRectReadOnly(double x, double y, double width, double height); |
86 |
+ |
87 |
+- double x() const { return x_; } |
88 |
+- double y() const { return y_; } |
89 |
+- double width() const { return width_; } |
90 |
+- double height() const { return height_; } |
91 |
++ constexpr double x() const { return x_; } |
92 |
++ constexpr double y() const { return y_; } |
93 |
++ constexpr double width() const { return width_; } |
94 |
++ constexpr double height() const { return height_; } |
95 |
+ |
96 |
+ double top() const { return std::min(y_, y_ + height_); } |
97 |
+ double right() const { return std::max(x_, x_ + width_); } |
98 |
|
99 |
diff --git a/www-client/chromium/files/chromium-82-gcc-default.patch b/www-client/chromium/files/chromium-82-gcc-default.patch |
100 |
deleted file mode 100644 |
101 |
index 2195a1d2923..00000000000 |
102 |
--- a/www-client/chromium/files/chromium-82-gcc-default.patch |
103 |
+++ /dev/null |
104 |
@@ -1,35 +0,0 @@ |
105 |
-From a089aa8aafa2cabc331df6ea450fb75b77e75ff7 Mon Sep 17 00:00:00 2001 |
106 |
-From: Jose Dapena Paz <jdapena@××××××.com> |
107 |
-Date: Wed, 12 Feb 2020 22:03:05 +0000 |
108 |
-Subject: [PATCH] libstdc++: explicitly declare default constructor of WTF::DequeIterator |
109 |
- |
110 |
-Using std::minmax_element on a WTF::Deque iterator with libstdc++ from |
111 |
-GCC 5+ fails to compile: |
112 |
-/usr/include/c++/9/bits/stl_algo.h:3334:24: error: no matching function for call to ‘WTF::DequeIterator<int, 0, WTF::PartitionAllocator>::DequeIterator(<brace-enclosed initializer list>)’ |
113 |
- 3334 | _ForwardIterator __min{}, __max{}; |
114 |
- |
115 |
-This is because it will try to create an iterator of the DequeIterator |
116 |
-type with no parameters (or with an empty list of initializers), but |
117 |
-that constructor is not available. So this changeset adds it. |
118 |
- |
119 |
-Bug: 957519 |
120 |
- |
121 |
-Change-Id: I95e54a2fd95b19c0d439e9067105b7e388bdea61 |
122 |
-Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2051932 |
123 |
-Reviewed-by: Kentaro Hara <haraken@××××××××.org> |
124 |
-Commit-Queue: José Dapena Paz <jdapena@××××××.com> |
125 |
-Cr-Commit-Position: refs/heads/master@{#740842} |
126 |
---- |
127 |
- |
128 |
-diff --git a/third_party/blink/renderer/platform/wtf/deque.h b/third_party/blink/renderer/platform/wtf/deque.h |
129 |
-index 29cce7c57..07233c4 100644 |
130 |
---- a/third_party/blink/renderer/platform/wtf/deque.h |
131 |
-+++ b/third_party/blink/renderer/platform/wtf/deque.h |
132 |
-@@ -236,6 +236,7 @@ |
133 |
- typedef T& reference; |
134 |
- typedef std::bidirectional_iterator_tag iterator_category; |
135 |
- |
136 |
-+ DequeIterator() = default; |
137 |
- DequeIterator(Deque<T, inlineCapacity, Allocator>* deque, wtf_size_t index) |
138 |
- : Base(deque, index) {} |
139 |
- |
140 |
|
141 |
diff --git a/www-client/chromium/files/chromium-82-gcc-has-feature.patch b/www-client/chromium/files/chromium-82-gcc-has-feature.patch |
142 |
deleted file mode 100644 |
143 |
index 592d0cdb3b9..00000000000 |
144 |
--- a/www-client/chromium/files/chromium-82-gcc-has-feature.patch |
145 |
+++ /dev/null |
146 |
@@ -1,35 +0,0 @@ |
147 |
-From a148e5ed2151c6458f8c4cff44634146f803afe5 Mon Sep 17 00:00:00 2001 |
148 |
-From: Jose Dapena Paz <jdapena@××××××.com> |
149 |
-Date: Wed, 12 Feb 2020 22:00:35 +0000 |
150 |
-Subject: [PATCH] GCC: do not use __has_feature in UnsanitizedAtomic |
151 |
- |
152 |
-GCC fails to build as unsanitized_atomic.cc is using a Clang only |
153 |
-compiler macro: __has_feature: |
154 |
- |
155 |
- ../../third_party/blink/renderer/platform/heap/unsanitized_atomic.cc:9:18: error: missing binary operator before token "(" |
156 |
- 9 | #if __has_feature(address_sanitizer) |
157 |
- | ^ |
158 |
- |
159 |
-Bug: 819294 |
160 |
-Change-Id: Id1ef4972e61d82739b115398458fd238736de4a9 |
161 |
-Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2052106 |
162 |
-Reviewed-by: Anton Bikineev <bikineev@××××××××.org> |
163 |
-Commit-Queue: José Dapena Paz <jdapena@××××××.com> |
164 |
-Cr-Commit-Position: refs/heads/master@{#740841} |
165 |
---- |
166 |
- |
167 |
-diff --git a/third_party/blink/renderer/platform/heap/unsanitized_atomic.cc b/third_party/blink/renderer/platform/heap/unsanitized_atomic.cc |
168 |
-index 8481d63..5ed251d 100644 |
169 |
---- a/third_party/blink/renderer/platform/heap/unsanitized_atomic.cc |
170 |
-+++ b/third_party/blink/renderer/platform/heap/unsanitized_atomic.cc |
171 |
-@@ -6,7 +6,9 @@ |
172 |
- |
173 |
- #include "cstdint" |
174 |
- |
175 |
--#if __has_feature(address_sanitizer) |
176 |
-+#include "base/compiler_specific.h" |
177 |
-+ |
178 |
-+#if HAS_FEATURE(address_sanitizer) |
179 |
- #error "Must be built without asan." |
180 |
- #endif |
181 |
- |
182 |
|
183 |
diff --git a/www-client/chromium/files/chromium-82-gcc-noexcept.patch b/www-client/chromium/files/chromium-82-gcc-noexcept.patch |
184 |
deleted file mode 100644 |
185 |
index ee7d65537fc..00000000000 |
186 |
--- a/www-client/chromium/files/chromium-82-gcc-noexcept.patch |
187 |
+++ /dev/null |
188 |
@@ -1,13 +0,0 @@ |
189 |
-diff --git a/components/paint_preview/browser/paint_preview_client.cc b/components/paint_preview/browser/paint_preview_client.cc |
190 |
-index a02605a..abe0e3a 100644 |
191 |
---- a/components/paint_preview/browser/paint_preview_client.cc |
192 |
-+++ b/components/paint_preview/browser/paint_preview_client.cc |
193 |
-@@ -98,7 +98,7 @@ PaintPreviewClient::PaintPreviewData::PaintPreviewData() = default; |
194 |
- PaintPreviewClient::PaintPreviewData::~PaintPreviewData() = default; |
195 |
- |
196 |
- PaintPreviewClient::PaintPreviewData& PaintPreviewClient::PaintPreviewData:: |
197 |
--operator=(PaintPreviewData&& rhs) noexcept = default; |
198 |
-+operator=(PaintPreviewData&& rhs) = default; |
199 |
- |
200 |
- PaintPreviewClient::PaintPreviewData::PaintPreviewData( |
201 |
- PaintPreviewData&& other) noexcept = default; |
202 |
|
203 |
diff --git a/www-client/chromium/files/chromium-82-gcc-private.patch b/www-client/chromium/files/chromium-82-gcc-private.patch |
204 |
new file mode 100644 |
205 |
index 00000000000..278f5b1d97a |
206 |
--- /dev/null |
207 |
+++ b/www-client/chromium/files/chromium-82-gcc-private.patch |
208 |
@@ -0,0 +1,47 @@ |
209 |
+From 1931db04cf4b3737adfb99edf86cbf68d740511b Mon Sep 17 00:00:00 2001 |
210 |
+From: Jose Dapena Paz <jdapena@××××××.com> |
211 |
+Date: Thu, 20 Feb 2020 11:41:29 +0100 |
212 |
+Subject: [PATCH] GNU stdc++: media::MediaError default constructor should be public |
213 |
+ |
214 |
+On building with GNU stdc++ we get this error building: |
215 |
+ gen/media/mojo/mojom/media_types.mojom.cc:1161:55: required from here |
216 |
+ /usr/include/c++/9/bits/stl_construct.h:75:7: error: ‘media::MediaError::MediaError()’ is private within this context |
217 |
+ |
218 |
+This is because the serialization code will eventually call, in this case, |
219 |
+the default constructor because of the implementation of stl_uninitialized |
220 |
+that is used to create an std::vector. This is invoked from |
221 |
+static bool mojo::ArrayTraits<std::vector<_Tp> >::Resize(std::vector<_Tp>&, size_t) |
222 |
+and what it does is constructing a temporary vector like this: |
223 |
+ std::vector<T> temp(size); |
224 |
+ |
225 |
+But this is requiring calling the default constructor of T (in this case |
226 |
+MediaError) for all the elements up to size-1. |
227 |
+ |
228 |
+Bug: 957519 |
229 |
+Change-Id: Ie3a28b9734f16c5155b9500003838510be0a748d |
230 |
+--- |
231 |
+ |
232 |
+diff --git a/media/base/media_error.h b/media/base/media_error.h |
233 |
+index d3ba96c..56daaec 100644 |
234 |
+--- a/media/base/media_error.h |
235 |
++++ b/media/base/media_error.h |
236 |
+@@ -40,6 +40,9 @@ |
237 |
+ // successful returns. |
238 |
+ class MEDIA_EXPORT MediaError { |
239 |
+ public: |
240 |
++ // Default constructor can be used for MediaError::Ok(); |
241 |
++ MediaError(); |
242 |
++ |
243 |
+ // Convenience function to return |kOk|. |
244 |
+ // OK won't have a message, trace, or data associated with them, and DCHECK |
245 |
+ // if they are added. |
246 |
+@@ -110,9 +113,6 @@ |
247 |
+ } |
248 |
+ |
249 |
+ private: |
250 |
+- // Default constructor can be used for MediaError::Ok(); |
251 |
+- MediaError(); |
252 |
+- |
253 |
+ // Private helper to add the current stack frame to the error trace. |
254 |
+ void AddFrame(const base::Location& location); |
255 |
+ |
256 |
|
257 |
diff --git a/www-client/chromium/files/chromium-82-include.patch b/www-client/chromium/files/chromium-82-include.patch |
258 |
new file mode 100644 |
259 |
index 00000000000..9a39ae2e8d5 |
260 |
--- /dev/null |
261 |
+++ b/www-client/chromium/files/chromium-82-include.patch |
262 |
@@ -0,0 +1,28 @@ |
263 |
+From 046deafc60a31f485a96773dc5ea5b0eb2ed15f1 Mon Sep 17 00:00:00 2001 |
264 |
+From: Jose Dapena Paz <jdapena@××××××.com> |
265 |
+Date: Mon, 24 Feb 2020 16:24:33 +0000 |
266 |
+Subject: [PATCH] IWYU: missing include for std::string in csp_source_list.h |
267 |
+ |
268 |
+Build error in GCC: |
269 |
+../../services/network/public/cpp/content_security_policy/csp_source_list.h:19:6: error: ‘string’ in namespace ‘std’ does not name a type |
270 |
+ |
271 |
+Bug: 819294 |
272 |
+Change-Id: I9c8665050cae038530a79323b65932a124adf2a1 |
273 |
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2067074 |
274 |
+Commit-Queue: Lucas Gadani <lfg@××××××××.org> |
275 |
+Reviewed-by: Lucas Gadani <lfg@××××××××.org> |
276 |
+Cr-Commit-Position: refs/heads/master@{#743946} |
277 |
+--- |
278 |
+ |
279 |
+diff --git a/services/network/public/cpp/content_security_policy/csp_source_list.h b/services/network/public/cpp/content_security_policy/csp_source_list.h |
280 |
+index 0cd3971..6df1891 100644 |
281 |
+--- a/services/network/public/cpp/content_security_policy/csp_source_list.h |
282 |
++++ b/services/network/public/cpp/content_security_policy/csp_source_list.h |
283 |
+@@ -5,6 +5,7 @@ |
284 |
+ #ifndef SERVICES_NETWORK_PUBLIC_CPP_CONTENT_SECURITY_POLICY_CSP_SOURCE_LIST_H_ |
285 |
+ #define SERVICES_NETWORK_PUBLIC_CPP_CONTENT_SECURITY_POLICY_CSP_SOURCE_LIST_H_ |
286 |
+ |
287 |
++#include <string> |
288 |
+ #include <vector> |
289 |
+ |
290 |
+ #include "base/component_export.h" |