Update package version to 146.0.7680.153
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
name: chromium
|
name: chromium
|
||||||
description: A safe, fast and stable open-source browser project
|
description: A safe, fast and stable open-source browser project
|
||||||
version: 145.0.7632.159
|
version: 146.0.7680.153
|
||||||
revision: 1
|
revision: 1
|
||||||
url: https://www.chromium.org/Home/
|
url: https://www.chromium.org/Home/
|
||||||
license: BSD-3-License
|
license: BSD-3-License
|
||||||
@@ -61,4 +61,4 @@ downloads:
|
|||||||
- url: https://github.com/chromium-linux-tarballs/chromium-tarballs/releases/download/${BPM_PKG_VERSION}/chromium-${BPM_PKG_VERSION}-linux.tar.xz
|
- url: https://github.com/chromium-linux-tarballs/chromium-tarballs/releases/download/${BPM_PKG_VERSION}/chromium-${BPM_PKG_VERSION}-linux.tar.xz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: ea7350702cb827c94b786fc1fa51c24c0401e782c9c08dd7ca25a676da4a8f8c
|
checksum: 03b1d2d0a05b9da0e29f9e710ec06f4f829bc2e55dd9e1e6d463a151bddaf5f1
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
--- a/build/config/compiler/BUILD.gn 2026-03-09 19:52:01.000000000 +0000
|
||||||
|
+++ b/build/config/compiler/BUILD.gn 2026-03-10 22:29:51.892264280 +0000
|
||||||
|
@@ -1855,18 +1855,6 @@ config("sanitize_c_array_bounds") {
|
||||||
|
cflags = [
|
||||||
|
"-fsanitize=array-bounds",
|
||||||
|
"-fsanitize-trap=array-bounds",
|
||||||
|
-
|
||||||
|
- # Some code users feature detection to determine if UBSAN (or any
|
||||||
|
- # sanitizer) is enabled, they then do expensive debug like operations. We
|
||||||
|
- # want to suppress this behaviour since we want to keep performance costs
|
||||||
|
- # as low as possible while having these checks.
|
||||||
|
- "-fsanitize-ignore-for-ubsan-feature=array-bounds",
|
||||||
|
-
|
||||||
|
- # Because we've enabled array-bounds sanitizing we also want to suppress
|
||||||
|
- # the related warning about "unsafe-buffer-usage-in-static-sized-array",
|
||||||
|
- # since we know that the array bounds sanitizing will catch any out-of-
|
||||||
|
- # bounds accesses.
|
||||||
|
- "-Wno-unsafe-buffer-usage-in-static-sized-array",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,70 @@
|
|||||||
|
diff --git a/third_party/rust/chromium_crates_io/patches/bytemuck-v1/0101-Ad-hoc-bytemuck-fix-for-https-crbug.com-480176523.patch b/third_party/rust/chromium_crates_io/patches/bytemuck-v1/0101-Ad-hoc-bytemuck-fix-for-https-crbug.com-480176523.patch
|
||||||
|
deleted file mode 100644
|
||||||
|
index d5df20dd..0000000
|
||||||
|
--- a/third_party/rust/chromium_crates_io/patches/bytemuck-v1/0101-Ad-hoc-bytemuck-fix-for-https-crbug.com-480176523.patch
|
||||||
|
+++ /dev/null
|
||||||
|
@@ -1,40 +0,0 @@
|
||||||
|
-From 98355e3039f4677b19d1358a207f5ae646b935bb Mon Sep 17 00:00:00 2001
|
||||||
|
-From: Lukasz Anforowicz <[email protected]>
|
||||||
|
-Date: Fri, 30 Jan 2026 23:30:50 +0000
|
||||||
|
-Subject: [PATCH] Ad-hoc `bytemuck` fix for https://crbug.com/480176523.
|
||||||
|
-
|
||||||
|
-TODO: Remove this patch from `chromium_crates_io/patches` after
|
||||||
|
-rolling `bytemuck` past the actual fix from
|
||||||
|
-https://github.com/Lokathor/bytemuck/pull/344
|
||||||
|
----
|
||||||
|
- .../rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs | 1 -
|
||||||
|
- .../rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs | 1 -
|
||||||
|
- 2 files changed, 2 deletions(-)
|
||||||
|
-
|
||||||
|
-diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs
|
||||||
|
-index 846f281d975c7..3aaee72a26e85 100644
|
||||||
|
---- a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs
|
||||||
|
-+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs
|
||||||
|
-@@ -151,7 +151,6 @@ impl_unsafe_marker_for_simd!(
|
||||||
|
- unsafe impl<T, const N: usize> Pod for core::simd::Simd<T, N>
|
||||||
|
- where
|
||||||
|
- T: core::simd::SimdElement + Pod,
|
||||||
|
-- core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
|
||||||
|
- {
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
-diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs
|
||||||
|
-index d88ba0f6636d0..b0f3b8aca0b08 100644
|
||||||
|
---- a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs
|
||||||
|
-+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs
|
||||||
|
-@@ -230,7 +230,6 @@ impl_unsafe_marker_for_simd!(
|
||||||
|
- unsafe impl<T, const N: usize> Zeroable for core::simd::Simd<T, N>
|
||||||
|
- where
|
||||||
|
- T: core::simd::SimdElement + Zeroable,
|
||||||
|
-- core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
|
||||||
|
- {
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
---
|
||||||
|
-2.53.0.rc1.225.gd81095ad13-goog
|
||||||
|
-
|
||||||
|
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs
|
||||||
|
index b039792..330f722 100644
|
||||||
|
--- a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs
|
||||||
|
+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs
|
||||||
|
@@ -152,6 +152,7 @@
|
||||||
|
unsafe impl<T, const N: usize> Pod for core::simd::Simd<T, N>
|
||||||
|
where
|
||||||
|
T: core::simd::SimdElement + Pod,
|
||||||
|
+ core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs
|
||||||
|
index 397ddde..186c567 100644
|
||||||
|
--- a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs
|
||||||
|
+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs
|
||||||
|
@@ -231,6 +231,7 @@
|
||||||
|
unsafe impl<T, const N: usize> Zeroable for core::simd::Simd<T, N>
|
||||||
|
where
|
||||||
|
T: core::simd::SimdElement + Zeroable,
|
||||||
|
+ core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
@@ -6,9 +6,31 @@
|
|||||||
# This function is used for putting downloaded files to the correct location or applying patches
|
# This function is used for putting downloaded files to the correct location or applying patches
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$BPM_SOURCE"
|
cd "$BPM_SOURCE"
|
||||||
for _patch in "$BPM_WORKDIR"/*.patch; do
|
|
||||||
patch -Np1 -i "$_patch"
|
# Use the --oauth2-client-id= and --oauth2-client-secret= switches for
|
||||||
done
|
# setting GOOGLE_DEFAULT_CLIENT_ID and GOOGLE_DEFAULT_CLIENT_SECRET at
|
||||||
|
# runtime -- this allows signing into Chromium without baked-in values
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/use-oauth2-client-switches-as-default.patch
|
||||||
|
|
||||||
|
# Fixes from Gentoo
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/chromium-138-nodejs-version-check.patch
|
||||||
|
|
||||||
|
# Increase _FORTIFY_SOURCE level to match Arch's default flags
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/increase-fortify-level.patch
|
||||||
|
|
||||||
|
# Fix issue about missing compiler flag, can be dropped when arch has LLVM 23
|
||||||
|
# clang++: error: unknown argument: '-fsanitize-ignore-for-ubsan-feature=array-bounds'
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/chromium-145-drop-unknown-clang-flag.patch
|
||||||
|
|
||||||
|
# https://chromium-review.googlesource.com/c/chromium/src/+/7487414
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/chromium-146-apply-upstream-libmuck-fix.patch
|
||||||
|
|
||||||
|
# https://crbug.com/456218403
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/chromium-145-fix-SYS_SECCOMP.patch
|
||||||
|
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/ungoogled-chromium-145-build-with-wasm-rollup.patch
|
||||||
|
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/dont_require_profiler_builtins.rlib.patch
|
||||||
|
|
||||||
# Allow building against system libraries in official builds
|
# Allow building against system libraries in official builds
|
||||||
sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' tools/generate_shim_headers/generate_shim_headers.py
|
sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' tools/generate_shim_headers/generate_shim_headers.py
|
||||||
@@ -84,7 +106,7 @@ build() {
|
|||||||
'chrome_pgo_phase=0'
|
'chrome_pgo_phase=0'
|
||||||
'rust_sysroot_absolute="/usr"'
|
'rust_sysroot_absolute="/usr"'
|
||||||
'rust_bindgen_root="/usr"'
|
'rust_bindgen_root="/usr"'
|
||||||
"rustc_version=\"$(rustc --version)\""
|
"rustc_version=\"$(rustc --version | awk '{print $2 ;}')\""
|
||||||
)
|
)
|
||||||
|
|
||||||
export RUSTC_BOOTSTRAP=1
|
export RUSTC_BOOTSTRAP=1
|
||||||
|
|||||||
Reference in New Issue
Block a user