Skip to content

Commit d92e529

Browse files
committed
chromium: update to 147.0.7727.55.
1 parent 607f258 commit d92e529

6 files changed

Lines changed: 83 additions & 52 deletions

File tree

srcpkgs/chromium/files/musl-patches/libc++-musl.patch

Lines changed: 0 additions & 11 deletions
This file was deleted.

srcpkgs/chromium/patches/chromium-124-iwyu-sys-select-dawn-terminal.patch

Lines changed: 0 additions & 24 deletions
This file was deleted.

srcpkgs/chromium/patches/aarch64-musl-no-memory-tagging.patch renamed to srcpkgs/chromium/patches/chromium-147-aarch64-musl-no-memory-tagging.patch

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,13 @@
2020
#define HAS_HW_CAPS
2121
#endif
2222

23+
--- a/base/allocator/partition_allocator/partition_alloc.gni
24+
+++ b/base/allocator/partition_allocator/partition_alloc.gni
25+
@@ -2,6 +2,7 @@
26+
# Use of this source code is governed by a BSD-style license that can be
27+
# found in the LICENSE file.
28+
29+
+import("//build/config/linux/musl.gni")
30+
import("//build_overrides/partition_alloc.gni")
31+
32+
# -----------------------------------------------------------------------------
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- a/build/config/compiler/BUILD.gn
2+
+++ b/build/config/compiler/BUILD.gn
3+
@@ -617,7 +617,7 @@
4+
# https://crbug.com/484082200 for background and https://crrev.com/c/7593035
5+
# for discussion.
6+
if (!is_wasm) {
7+
- cflags += [ "-fno-lifetime-dse" ]
8+
+ # cflags += [ "-fno-lifetime-dse" ]
9+
}
10+
11+
# TODO(hans): Remove this once Clang generates better optimized debug info

srcpkgs/chromium/patches/chromium-140-musl-toolchain.patch renamed to srcpkgs/chromium/patches/chromium-147-musl-toolchain.patch

Lines changed: 59 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
--- a/build/toolchain/toolchain.gni
2-
+++ b/build/toolchain/toolchain.gni
3-
@@ -51,6 +51,10 @@
4-
}
5-
}
6-
1+
--- /dev/null 2026-04-08 02:08:03.222890460 +0200
2+
+++ b/build/config/linux/musl.gni 2026-04-10 01:18:23.479529250 +0200
3+
@@ -0,0 +1,3 @@
74
+declare_args() {
85
+ is_musl = false
96
+}
10-
+
11-
# Extension for shared library files (including leading dot).
12-
if (is_apple) {
13-
shlib_extension = ".dylib"
147
--- a/build/config/compiler/BUILD.gn
158
+++ b/build/config/compiler/BUILD.gn
9+
@@ -20,6 +20,7 @@
10+
import("//build/config/rust.gni")
11+
import("//build/config/ui.gni")
12+
import("//build/config/unwind.gni")
13+
+import("//build/config/linux/musl.gni")
14+
import("//build/toolchain/rbe.gni")
15+
import("//build/toolchain/toolchain.gni")
16+
import("//build_overrides/build.gni")
1617
@@ -1282,8 +1282,13 @@
1718
# simplicity we always explicitly set the architecture.
1819
if (current_cpu == "x64") {
@@ -61,3 +62,51 @@
6162
}
6263
} else if (current_cpu == "mipsel") {
6364
ldflags += [ "-Wl,--hash-style=sysv" ]
65+
--- a/buildtools/third_party/libc++/__config_site
66+
+++ b/buildtools/third_party/libc++/__config_site
67+
@@ -26,12 +26,6 @@
68+
#define _LIBCPP_HAS_MONOTONIC_CLOCK 1
69+
#define _LIBCPP_HAS_TERMINAL 1
70+
71+
-#ifdef ANDROID_HOST_MUSL
72+
-#define _LIBCPP_HAS_MUSL_LIBC 1
73+
-#else
74+
-#define _LIBCPP_HAS_MUSL_LIBC 0
75+
-#endif
76+
-
77+
#ifdef _WIN32
78+
#define _LIBCPP_HAS_THREAD_API_PTHREAD 0
79+
#define _LIBCPP_HAS_THREAD_API_EXTERNAL 0
80+
--- a/build/config/rust.gni
81+
+++ b/build/config/rust.gni
82+
@@ -5,6 +5,7 @@
83+
import("//build/config/chrome_build.gni")
84+
import("//build/config/compiler/compiler.gni")
85+
import("//build/config/sanitizers/sanitizers.gni")
86+
+import("//build/config/linux/musl.gni")
87+
import("//build/toolchain/toolchain.gni")
88+
89+
if (is_android) {
90+
--- a/build/config/c++/BUILD.gn
91+
+++ b/build/config/c++/BUILD.gn
92+
@@ -3,6 +3,7 @@
93+
import("//build/config/chromeos/ui_mode.gni")
94+
import("//build/config/compiler/compiler.gni")
95+
import("//build/config/dcheck_always_on.gni")
96+
+import("//build/config/linux/musl.gni")
97+
import("//buildtools/deps_revisions.gni")
98+
99+
assert(use_custom_libcxx, "should only be used if use_custom_libcxx is set")
100+
@@ -60,6 +61,12 @@
101+
102+
defines += [ "CR_LIBCXX_REVISION=$libcxx_revision" ]
103+
104+
+ if (is_musl) {
105+
+ defines += [ "_LIBCPP_HAS_MUSL_LIBC=1" ]
106+
+ } else {
107+
+ defines += [ "_LIBCPP_HAS_MUSL_LIBC=0" ]
108+
+ }
109+
+
110+
if (is_win) {
111+
# Intentionally not using libc++abi on Windows because libc++abi only
112+
# implements the Itanium C++ ABI, and not the Microsoft ABI which we use on

srcpkgs/chromium/template

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Template file for 'chromium'
22
pkgname=chromium
33
# See https://chromiumdash.appspot.com/releases?platform=Linux for the latest version
4-
version=146.0.7680.177
4+
version=147.0.7727.55
55
revision=1
66
_rollup=4.22.4
77
archs="i686* x86_64* aarch64* armv7l*"
8-
_llvmver=21
8+
_llvmver=22
99
hostmakedepends="
1010
$(vopt_if clang "clang${_llvmver} lld${_llvmver} llvm${_llvmver} compiler-rt${_llvmver}")
1111
bison git gperf hwids ninja nodejs perl pkg-config python3
@@ -36,7 +36,7 @@ homepage="https://www.chromium.org/"
3636
# distfiles="https://chromium.googlesource.com/chromium/src.git/+archive/refs/tags/${version}.tar.gz"
3737
distfiles="https://github.com/chromium-linux-tarballs/chromium-tarballs/releases/download/${version}/chromium-${version}-linux.tar.xz
3838
https://registry.npmjs.org/@rollup/wasm-node/-/wasm-node-${_rollup}.tgz"
39-
checksum="b0dbfa58893c4ae6e8bb074b86fd2ebf107dbf1604b5f60bda162df712808c0c
39+
checksum="39ee033238284174dc3bd1a24f6508ff63292134216bb02b217a5ad50ce32a26
4040
ee49bf67bd9bee869405af78162d028e2af0fcfca80497404f56b1b99f272717"
4141

4242
skip_extraction="wasm-node-${_rollup}.tgz"
@@ -75,10 +75,6 @@ if [ ! "$XBPS_WORDSIZE" = "$XBPS_TARGET_WORDSIZE" ]; then
7575
broken="chromium (v8) can only be cross compiled if word size matches"
7676
fi
7777

78-
case "${XBPS_TARGET_MACHINE}" in
79-
i686*) broken="v8 mksnapshot segfault" ;;
80-
esac
81-
8278
if [ "$CROSS_BUILD" ]; then
8379
case "${XBPS_TARGET_MACHINE}" in
8480
aarch64*) ;;

0 commit comments

Comments
 (0)