commit:     f73607ce02dd593b6ee2b0a2cc62c2d981bd22cf
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  6 11:15:02 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Thu Nov  6 11:38:53 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f73607ce

www-client/chromium: fix M142 build with older Rust

A patch for building with Rust < 1.90.0 was missed.

Reported-by: Tolga Uçar <freetolga <AT> protonmail.com>
Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 www-client/chromium/chromium-142.0.7444.134.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/www-client/chromium/chromium-142.0.7444.134.ebuild 
b/www-client/chromium/chromium-142.0.7444.134.ebuild
index bd9c31e05eb0..7abc09124e7d 100644
--- a/www-client/chromium/chromium-142.0.7444.134.ebuild
+++ b/www-client/chromium/chromium-142.0.7444.134.ebuild
@@ -572,6 +572,12 @@ src_prepare() {
                        PATCHES+=( 
"${FILESDIR}/chromium-140-__rust_no_alloc_shim_is_unstable.patch" )
                fi
 
+               if ver_test ${RUST_SLOT} -lt "1.90.0"; then
+                       PATCHES+=(
+                               "${WORKDIR}/copium/cr142-rust-pre1.90.patch"
+                       )
+               fi
+
                if ver_test ${RUST_SLOT} -lt "1.91.0"; then
                        PATCHES+=(
                                
"${WORKDIR}/copium/cr142-crabbyavif-gn-rust-pre1.91.patch"

Reply via email to