From 35447aedb60cbfa71173ff60a1ff0e0a228bc389 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Thu, 13 Jun 2024 16:50:53 +0200 Subject: [PATCH] chromium: update to 126.0.6478.55. --- ...20-split-threshold-for-reg-with-hint.patch | 28 ------------------- .../patches/chromium-124-libavif-deps.patch | 11 -------- .../chromium-125-iwyu-webauthn-variant.patch | 10 +++++++ ...26-split-threshold-for-reg-with-hint.patch | 28 +++++++++++++++++++ srcpkgs/chromium/template | 4 +-- 5 files changed, 40 insertions(+), 41 deletions(-) delete mode 100644 srcpkgs/chromium/patches/chromium-120-split-threshold-for-reg-with-hint.patch delete mode 100644 srcpkgs/chromium/patches/chromium-124-libavif-deps.patch create mode 100644 srcpkgs/chromium/patches/chromium-125-iwyu-webauthn-variant.patch create mode 100644 srcpkgs/chromium/patches/chromium-126-split-threshold-for-reg-with-hint.patch diff --git a/srcpkgs/chromium/patches/chromium-120-split-threshold-for-reg-with-hint.patch b/srcpkgs/chromium/patches/chromium-120-split-threshold-for-reg-with-hint.patch deleted file mode 100644 index e80ed715aaf29e..00000000000000 --- a/srcpkgs/chromium/patches/chromium-120-split-threshold-for-reg-with-hint.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -up chromium-120.0.6099.35/build/config/compiler/BUILD.gn.than chromium-120.0.6099.35/build/config/compiler/BUILD.gn ---- chromium-120.0.6099.35/build/config/compiler/BUILD.gn.than 2023-11-26 17:02:25.647022746 +0100 -+++ chromium-120.0.6099.35/build/config/compiler/BUILD.gn 2023-11-26 17:15:58.025585358 +0100 -@@ -616,24 +616,6 @@ config("compiler") { - } - } - -- # TODO(crbug.com/1488374): This causes binary size growth and potentially -- # other problems. -- # TODO(crbug.com/1491036): This isn't supported by Cronet's mainline llvm version. -- if (default_toolchain != "//build/toolchain/cros:target" && -- !llvm_android_mainline) { -- cflags += [ -- "-mllvm", -- "-split-threshold-for-reg-with-hint=0", -- ] -- if (use_thin_lto && is_a_target_toolchain) { -- if (is_win) { -- ldflags += [ "-mllvm:-split-threshold-for-reg-with-hint=0" ] -- } else { -- ldflags += [ "-Wl,-mllvm,-split-threshold-for-reg-with-hint=0" ] -- } -- } -- } -- - # TODO(crbug.com/1235145): Investigate why/if this should be needed. - if (is_win) { - cflags += [ "/clang:-ffp-contract=off" ] diff --git a/srcpkgs/chromium/patches/chromium-124-libavif-deps.patch b/srcpkgs/chromium/patches/chromium-124-libavif-deps.patch deleted file mode 100644 index 6298217f54e302..00000000000000 --- a/srcpkgs/chromium/patches/chromium-124-libavif-deps.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -up chromium-124.0.6367.49/third_party/libavif/BUILD.gn.me chromium-124.0.6367.49/third_party/libavif/BUILD.gn ---- chromium-124.0.6367.49/third_party/libavif/BUILD.gn.me 2024-04-15 22:29:28.024287328 +0200 -+++ chromium-124.0.6367.49/third_party/libavif/BUILD.gn 2024-04-15 22:29:33.205411066 +0200 -@@ -85,7 +85,6 @@ component("libavif_enc") { - configs += [ ":avif_config" ] - - deps = [ -- "//third_party/libwebp:libwebp_sharpyuv", - "//third_party/libyuv", - ] - defines = [ "AVIF_LIBSHARPYUV_ENABLED" ] diff --git a/srcpkgs/chromium/patches/chromium-125-iwyu-webauthn-variant.patch b/srcpkgs/chromium/patches/chromium-125-iwyu-webauthn-variant.patch new file mode 100644 index 00000000000000..52448e49f0d24a --- /dev/null +++ b/srcpkgs/chromium/patches/chromium-125-iwyu-webauthn-variant.patch @@ -0,0 +1,10 @@ +--- a/chrome/browser/webauthn/authenticator_request_dialog_model.h ++++ b/chrome/browser/webauthn/authenticator_request_dialog_model.h +@@ -9,6 +9,7 @@ + #include + #include + #include ++#include + #include + + #include "base/containers/span.h" diff --git a/srcpkgs/chromium/patches/chromium-126-split-threshold-for-reg-with-hint.patch b/srcpkgs/chromium/patches/chromium-126-split-threshold-for-reg-with-hint.patch new file mode 100644 index 00000000000000..4ae1f29a867bd1 --- /dev/null +++ b/srcpkgs/chromium/patches/chromium-126-split-threshold-for-reg-with-hint.patch @@ -0,0 +1,28 @@ +diff -up chromium-126.0.6478.26/build/config/compiler/BUILD.gn.me chromium-126.0.6478.26/build/config/compiler/BUILD.gn +--- chromium-126.0.6478.26/build/config/compiler/BUILD.gn.me 2024-06-02 14:02:52.516602574 +0200 ++++ chromium-126.0.6478.26/build/config/compiler/BUILD.gn 2024-06-02 14:17:24.527503540 +0200 +@@ -575,24 +575,6 @@ config("compiler") { + } + } + +- # TODO(crbug.com/40283598): This causes binary size growth and potentially +- # other problems. +- # TODO(crbug.com/40284925): This isn't supported by Cronet's mainline llvm version. +- if (default_toolchain != "//build/toolchain/cros:target" && +- !llvm_android_mainline) { +- cflags += [ +- "-mllvm", +- "-split-threshold-for-reg-with-hint=0", +- ] +- if (use_thin_lto && is_a_target_toolchain) { +- if (is_win) { +- ldflags += [ "-mllvm:-split-threshold-for-reg-with-hint=0" ] +- } else { +- ldflags += [ "-Wl,-mllvm,-split-threshold-for-reg-with-hint=0" ] +- } +- } +- } +- + # TODO(crbug.com/40192287): Investigate why/if this should be needed. + if (is_win) { + cflags += [ "/clang:-ffp-contract=off" ] diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template index f3ad8822da3435..bd51612ed64748 100644 --- a/srcpkgs/chromium/template +++ b/srcpkgs/chromium/template @@ -1,7 +1,7 @@ # Template file for 'chromium' pkgname=chromium # See https://chromiumdash.appspot.com/releases?platform=Linux for the latest version -version=125.0.6422.60 +version=126.0.6478.55 revision=1 archs="i686* x86_64* aarch64* armv7l*" hostmakedepends=" @@ -28,7 +28,7 @@ maintainer="Duncaen " license="BSD-3-Clause" homepage="https://www.chromium.org/" distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz" -checksum=93f5850101225945d7ec80959b38460e6a63777055bf2d9e893860c33cb60080 +checksum=7ccef206f8c99e6a17b927b1b6d8018da808d75a0f46998282e0ca6cb80fe4c9 lib32disabled=yes