From e927f6fdeb8ebac056993e807f26aaf223e1810d Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 26 Apr 2026 16:17:14 +0300 Subject: [PATCH] Update package version to 147.0.7727.116 --- pkg.info | 4 ++-- .../chromium-147-rust-1.95-bytemuck.patch | 21 +++++++++++++++++++ source.sh | 2 ++ 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 source-files/chromium-147-rust-1.95-bytemuck.patch diff --git a/pkg.info b/pkg.info index 1d6fc4d..5deb93e 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: chromium description: A safe, fast and stable open-source browser project -version: 147.0.7727.101 +version: 147.0.7727.116 revision: 1 url: https://www.chromium.org/Home/ 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 extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: 362b6b21748dc6983157d80ceb601c070c0324073c3b311ba67f32cb36b17532 + checksum: eebd0546958485c40f8d7f6e4a7d2229d26decc8da473092889d35157338b61b diff --git a/source-files/chromium-147-rust-1.95-bytemuck.patch b/source-files/chromium-147-rust-1.95-bytemuck.patch new file mode 100644 index 0000000..2a9794f --- /dev/null +++ b/source-files/chromium-147-rust-1.95-bytemuck.patch @@ -0,0 +1,21 @@ +The original patch got reverted upstream, but LaneCount and SupportedLaneCount no longer work in Rust 1.95.0 +--- 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,7 +152,6 @@ impl_unsafe_marker_for_simd!( + unsafe impl Pod for core::simd::Simd + where + T: core::simd::SimdElement + Pod, +- core::simd::LaneCount: core::simd::SupportedLaneCount, + { + } + +--- 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,7 +231,6 @@ impl_unsafe_marker_for_simd!( + unsafe impl Zeroable for core::simd::Simd + where + T: core::simd::SimdElement + Zeroable, +- core::simd::LaneCount: core::simd::SupportedLaneCount, + { + } + diff --git a/source.sh b/source.sh index 903138e..e55a2c1 100644 --- a/source.sh +++ b/source.sh @@ -22,6 +22,8 @@ prepare() { # clang++: error: unknown argument: '-fsanitize-ignore-for-ubsan-feature=array-bounds' patch -Np1 -i "$BPM_WORKDIR"/chromium-145-drop-unknown-clang-flag.patch + patch -Np1 -i "$BPM_WORKDIR"/chromium-147-rust-1.95-bytemuck.patch + # Fixes unknown argument error patch -Np1 -i "$BPM_WORKDIR"/chromium-147-revert-clang-no-lifetime-dse-flag.patch