summaryrefslogtreecommitdiff
path: root/www-client/chromium/chromium-138.0.7204.157.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/chromium/chromium-138.0.7204.157.ebuild')
-rw-r--r--www-client/chromium/chromium-138.0.7204.157.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/www-client/chromium/chromium-138.0.7204.157.ebuild b/www-client/chromium/chromium-138.0.7204.157.ebuild
index f514d0a9a2bd..3e4167d6f8d5 100644
--- a/www-client/chromium/chromium-138.0.7204.157.ebuild
+++ b/www-client/chromium/chromium-138.0.7204.157.ebuild
@@ -500,6 +500,13 @@ src_prepare() {
sed -i 's/adler2/adler/' build/rust/std/BUILD.gn ||
die "Failed to tell GN that we have adler and not adler2"
fi
+
+ # chromium@0420449584e2afb7473393f536379efe194ba23c
+ # this crate is not included in the latest versions of Rust,
+ # and apparently has been unnecessary in Chromium for a long time.
+ sed -i '/unicode_width/d' build/rust/std/BUILD.gn ||
+ die "Failed to remove unicode_width from build/rust/std/BUILD.gn"
+
fi
default