commit:     25207581e26788524db033a3df746205f19803af
Author:     Andrew Cameron <apcameron <AT> gmail <DOT> com>
AuthorDate: Thu Jul 24 11:56:54 2025 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat Aug 23 17:54:36 2025 +0000
URL:        https://gitweb.gentoo.org/proj/riscv.git/commit/?id=25207581

Update Chromium to 138.0.7204.157

Signed-off-by: Andrew Cameron <apcameron <AT> gmail.com>
Closes: https://github.com/gentoo/riscv/pull/34
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 www-client/chromium/Manifest                               |  4 ++--
 ...38.0.7204.100.ebuild => chromium-138.0.7204.157.ebuild} | 14 ++++++++++----
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
index 61a9217..c5ed3ee 100644
--- a/www-client/chromium/Manifest
+++ b/www-client/chromium/Manifest
@@ -1,5 +1,5 @@
-DIST chromium-138.0.7204.100-linux-testdata.tar.xz 922983008 BLAKE2B 
3494434c3112086600d18eea0dfadfc041ec82b92a1d34444b2b3e353b958cc09c7c9f5bcf299543e127b13e9c04bca48e9b3816c34bf06ce2fcecdea6941b19
 SHA512 
e4c7da5ca7c1da60947989d33cc37de892f18f7d0ded8f29abe98fb352fb4ef0802404874522a8d4594184816aacad8ddf27be0473e1f80968940dac51a60579
-DIST chromium-138.0.7204.100-linux.tar.xz 1555634580 BLAKE2B 
16650922358d913567b8f96244bc388c4af8551110627bc40647ec15cc530d6df0060199976efecd1f21e0db97b90162fb09cf7b0a5870ad52d5c7588f47455f
 SHA512 
4cf91ca6b00679d39bda6e0004e1ed43c57d0a04bb078b7dac31d1b167e5b07d7bdb32447d514db2e782a883420c5add5cbafdbef4e0e62f7dfabb2d24bc5508
+DIST chromium-138.0.7204.157-linux-testdata.tar.xz 923159300 BLAKE2B 
dba7b63f78246c64811e52367823937e5fb258446669147f2031abacc921c52988f077cddcc00e3d273bb4e7a0375416f681e606fa9c364a840bbac1b1f66d24
 SHA512 
5913208d1d49e8291541a8f5ac70654b5b2b05eed1538a2eccbd47c93443cb08e86a5f735289fffb4ce2df26c5c72292571082b71b9f8f8084368084fc040c3b
+DIST chromium-138.0.7204.157-linux.tar.xz 1555757520 BLAKE2B 
d46405fdb3e1e2bb91991a0f75afb7753f7badb10bdaf072fa29fa603cef9efe3fd569f1294291b1136debd26378390a5d661e385247d32d451121d987aef1ec
 SHA512 
69eb7d569a21a0e2105bfed74067f1e62f61329df4e35e593df438875e09422121932d525895a8d299dd24dc69a0f3a1babebfceea9ebad09bf166e576961435
 DIST chromium-clang-llvmorg-21-init-11777-gfd3fecfc-1.tar.xz 55654416 BLAKE2B 
7dee88ab546cd265c7c8067484aab3250da8c1073adc1f453e9c6fba7113e7135fe988797d974b834326c1c7de63a55a1a9041c42f1fad435dba44b553e7c0e5
 SHA512 
8bb683c6036c103939ad47411bdaeb724787101dfa7f60f9a7837255814d3ba4faae7f9f115fcef0901446833727994ab95d5ead275b7424dc8cbcb7fbe86f87
 DIST chromium-openpower-e1538a2234.tar.bz2 421924 BLAKE2B 
c2e80953b0e73cb383b4c83a23304982a1a0ce2b2a06e247d1205080473d69587ba6326db355dc4c29e0a05f6608b270c84af2eb2c7a9282ecdfc498b3fdb1d5
 SHA512 
5429e48fb09dfc24703bea5ce7444a26ccc396f3fdbf0f9cda5ac9948de9584e9056cfb79b3633b69ff718595c1c3ee2754e9c852ae78cbb534934e5b8ea2151
 DIST chromium-patches-138-1.tar.bz2 11109 BLAKE2B 
a4b57c2f5cadae37f6284e458ec8941c09ae98658c099e638817919da9686ec412b619a21bd208ce79b471d27bbfcf589a94695f636f381a2de60f14fe8fe367
 SHA512 
b930ac8cb86aa5143cecf04c076a07a366328806b20ba4c6c09844b4411b74a0ad04dfbf182966e9401e3d1ee4a6f4b3e12e7f9b015c5f33311ebe0ffd76d5da

diff --git a/www-client/chromium/chromium-138.0.7204.100.ebuild 
b/www-client/chromium/chromium-138.0.7204.157.ebuild
similarity index 99%
rename from www-client/chromium/chromium-138.0.7204.100.ebuild
rename to www-client/chromium/chromium-138.0.7204.157.ebuild
index 77d9793..c743199 100644
--- a/www-client/chromium/chromium-138.0.7204.100.ebuild
+++ b/www-client/chromium/chromium-138.0.7204.157.ebuild
@@ -78,7 +78,7 @@ SLOT="0/stable"
 # Dev exists mostly to give devs some breathing room for beta/stable releases;
 # it shouldn't be keyworded but adventurous users can select it.
 if [[ ${SLOT} != "0/dev" ]]; then
-       KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv"
+       KEYWORDS="amd64 arm64 ~ppc64 ~riscv"
 fi
 
 IUSE_SYSTEM_LIBS="+system-harfbuzz +system-icu +system-png +system-zstd"
@@ -148,7 +148,7 @@ COMMON_SNAPSHOT_DEPEND="
 
 COMMON_DEPEND="
        ${COMMON_SNAPSHOT_DEPEND}
-    app-misc/jq:=
+       app-misc/jq:=
        app-arch/bzip2:=
        dev-libs/expat:=
        net-misc/curl[ssl]
@@ -536,6 +536,7 @@ src_prepare() {
                mkdir -p third_party/node/linux/node-linux-x64/bin || die
        fi
        ln -s "${EPREFIX}"/usr/bin/node 
third_party/node/linux/node-linux-x64/bin/node || die
+
     # if this is riscv apply wasm-node fix to get it to compile clean
     if use riscv  ; then
        pushd third_party/node
@@ -567,7 +568,6 @@ src_prepare() {
         popd
         python 
third_party/devtools-frontend/src/scripts/deps/manage_node_deps.py
     fi
-
        # adjust python interpreter version
        sed -i -e "s|\(^script_executable = \).*|\1\"${EPYTHON}\"|g" .gn || die
 
@@ -1238,6 +1238,12 @@ chromium_configure() {
                # Allow building against system libraries in official builds
                sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \
                        tools/generate_shim_headers/generate_shim_headers.py || 
die
+        if use ppc64 || use riscv; then
+            myconf_gn+=( "is_cfi=false" ) # requires 
llvm-runtimes/compiler-rt-sanitizers[cfi]
+        else
+            myconf_gn+=( "is_cfi=${use_lto}" )
+        fi
+
                # Don't add symbols to build
                myconf_gn+=( "symbol_level=0" )
        fi
@@ -1288,7 +1294,7 @@ chromium_compile() {
        # Build mksnapshot and pax-mark it.
        if use pax-kernel; then
                local x
-               for x in mksnapshot v8_context_snapshot_generator; do
+               for x in mksnapshot v8_context_snapshot_generator 
code_cache_generator; do
                        if tc-is-cross-compiler; then
                                eninja -C out/Release "host/${x}"
                                pax-mark m "out/Release/host/${x}"

Reply via email to