From 448693e731a7463cff4798da83f58d5096372c2e Mon Sep 17 00:00:00 2001 From: Matthias Wolf Date: Thu, 29 Apr 2021 10:23:38 +0200 Subject: [PATCH] www/chromium: update to 90.0.4430.93 MFH: 2021Q2 Security: https://vuxml.freebsd.org/freebsd/9fba80e0-a771-11eb-97a0-e09467587c17.html --- www/chromium/Makefile | 3 +-- www/chromium/distinfo | 10 +++++----- ...aint__preview_browser_paint__preview__client.cc | 13 +++++++++++++ ...aint__preview_common_proto_paint__preview.proto | 13 +++++++++++++ www/chromium/files/patch-mojo_core_channel.h | 14 ++++++++++++++ 5 files changed, 46 insertions(+), 7 deletions(-) create mode 100644 www/chromium/files/patch-components_paint__preview_browser_paint__preview__client.cc create mode 100644 www/chromium/files/patch-components_paint__preview_common_proto_paint__preview.proto create mode 100644 www/chromium/files/patch-mojo_core_channel.h diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 878aa76615b9..85750ca378aa 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -1,7 +1,7 @@ # Created by: Florent Thoumie PORTNAME= chromium -PORTVERSION= 90.0.4430.85 +PORTVERSION= 90.0.4430.93 CATEGORIES= www java MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ LOCAL/rene/chromium/:fonts @@ -14,7 +14,6 @@ LICENSE= BSD3CLAUSE LGPL21 MPL11 LICENSE_COMB= multi BROKEN_FreeBSD_11_aarch64= components/safe_browsing_db/v4_rice.cc:120:18: use of overloaded operator '&' is ambiguous -BROKEN_FreeBSD_11_i386= does not compile ONLY_FOR_ARCHS= aarch64 amd64 i386 BUILD_DEPENDS= bash:shells/bash \ diff --git a/www/chromium/distinfo b/www/chromium/distinfo index 54003ce76238..89045163f38d 100644 --- a/www/chromium/distinfo +++ b/www/chromium/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1619007272 -SHA256 (chromium-90.0.4430.85.tar.xz) = 01c5594d4b7eaa67e00b4fa16ae0c9d35ec5917467abd387ba1b5cc332d44922 -SIZE (chromium-90.0.4430.85.tar.xz) = 917373872 -SHA256 (chromium-90.0.4430.85-testdata.tar.xz) = c2434c60103a0eff9cc449ddb7ddfd146560f0b6a7e8a8af9df728190fde9fda -SIZE (chromium-90.0.4430.85-testdata.tar.xz) = 256581788 +TIMESTAMP = 1619508995 +SHA256 (chromium-90.0.4430.93.tar.xz) = 532ec75f4e08384fe2fb17b69af9210103379ee212dbf0bf081bdc5d4eca357e +SIZE (chromium-90.0.4430.93.tar.xz) = 917357836 +SHA256 (chromium-90.0.4430.93-testdata.tar.xz) = fff80fe158223770d12a93ef67ca8690473c62e9b1997e59e991f32161659579 +SIZE (chromium-90.0.4430.93-testdata.tar.xz) = 256588960 SHA256 (test_fonts-85.tar.xz) = f22b61b3639acb147c98ec2e2305d8b96f0b55c8c74c40e2ea696402fae8cef9 SIZE (test_fonts-85.tar.xz) = 9511984 diff --git a/www/chromium/files/patch-components_paint__preview_browser_paint__preview__client.cc b/www/chromium/files/patch-components_paint__preview_browser_paint__preview__client.cc new file mode 100644 index 000000000000..064fe0bc3cba --- /dev/null +++ b/www/chromium/files/patch-components_paint__preview_browser_paint__preview__client.cc @@ -0,0 +1,13 @@ +--- components/paint_preview/browser/paint_preview_client.cc.orig 2021-04-27 10:13:50 UTC ++++ components/paint_preview/browser/paint_preview_client.cc +@@ -302,8 +302,8 @@ void PaintPreviewClient::CapturePaintPreview( + metadata->set_url(url.spec()); + metadata->set_version(kPaintPreviewVersion); + auto* chromeVersion = metadata->mutable_chrome_version(); +- chromeVersion->set_major(CHROME_VERSION_MAJOR); +- chromeVersion->set_minor(CHROME_VERSION_MINOR); ++ chromeVersion->set_gmajor(CHROME_VERSION_MAJOR); ++ chromeVersion->set_gminor(CHROME_VERSION_MINOR); + chromeVersion->set_build(CHROME_VERSION_BUILD); + chromeVersion->set_patch(CHROME_VERSION_PATCH); + document_data.callback = std::move(callback); diff --git a/www/chromium/files/patch-components_paint__preview_common_proto_paint__preview.proto b/www/chromium/files/patch-components_paint__preview_common_proto_paint__preview.proto new file mode 100644 index 000000000000..3c588fa7028d --- /dev/null +++ b/www/chromium/files/patch-components_paint__preview_common_proto_paint__preview.proto @@ -0,0 +1,13 @@ +--- components/paint_preview/common/proto/paint_preview.proto.orig 2021-04-27 07:39:47 UTC ++++ components/paint_preview/common/proto/paint_preview.proto +@@ -78,8 +78,8 @@ message PaintPreviewFrameProto { + // Stores Chrome version. + // NEXT_TAG = 5 + message ChromeVersionProto { +- optional uint64 major = 1; +- optional uint64 minor = 2; ++ optional uint64 gmajor = 1; ++ optional uint64 gminor = 2; + optional uint64 build = 3; + optional uint64 patch = 4; + } diff --git a/www/chromium/files/patch-mojo_core_channel.h b/www/chromium/files/patch-mojo_core_channel.h new file mode 100644 index 000000000000..2112b1c2fe72 --- /dev/null +++ b/www/chromium/files/patch-mojo_core_channel.h @@ -0,0 +1,14 @@ +--- mojo/core/channel.h.orig 2021-04-28 14:44:22 UTC ++++ mojo/core/channel.h +@@ -22,7 +22,11 @@ + namespace mojo { + namespace core { + ++#if defined(__i386__) && defined(OS_FREEBSD) ++const size_t kChannelMessageAlignment = 4; ++#else + const size_t kChannelMessageAlignment = 8; ++#endif + + constexpr bool IsAlignedForChannelMessage(size_t n) { + return n % kChannelMessageAlignment == 0;