commit:     e972655f024a96aa75aed234c350355e8445d657
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sat Dec 13 20:03:39 2025 +0000
Commit:     orbea <orbea <AT> riseup <DOT> net>
CommitDate: Sat Dec 13 20:03:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=e972655f

dev-lang/rust: update SRC_URI

Signed-off-by: orbea <orbea <AT> riseup.net>

 dev-lang/rust/Manifest                |  1 +
 dev-lang/rust/rust-1.74.1-r101.ebuild |  2 +-
 dev-lang/rust/rust-1.75.0-r101.ebuild |  2 +-
 dev-lang/rust/rust-1.76.0-r101.ebuild |  2 +-
 dev-lang/rust/rust-1.77.1-r101.ebuild |  2 +-
 dev-lang/rust/rust-1.78.0-r101.ebuild |  2 +-
 dev-lang/rust/rust-1.79.0-r101.ebuild |  2 +-
 dev-lang/rust/rust-1.80.1-r101.ebuild |  2 +-
 dev-lang/rust/rust-1.81.0-r101.ebuild |  2 +-
 dev-lang/rust/rust-1.82.0-r103.ebuild |  2 +-
 dev-lang/rust/rust-1.83.0-r3.ebuild   |  2 +-
 dev-lang/rust/rust-1.84.0-r2.ebuild   |  2 +-
 dev-lang/rust/rust-1.84.1-r2.ebuild   |  2 +-
 dev-lang/rust/rust-1.85.0-r2.ebuild   |  2 +-
 dev-lang/rust/rust-1.85.1-r1.ebuild   |  2 +-
 dev-lang/rust/rust-1.86.0-r2.ebuild   |  2 +-
 dev-lang/rust/rust-1.87.0-r1.ebuild   |  6 +++---
 dev-lang/rust/rust-1.88.0.ebuild      |  6 +++---
 dev-lang/rust/rust-1.89.0.ebuild      |  6 +++---
 dev-lang/rust/rust-1.90.0-r1.ebuild   | 18 ++++++++++++++----
 dev-lang/rust/rust-1.90.0.ebuild      |  2 +-
 dev-lang/rust/rust-1.91.0.ebuild      |  6 +++---
 22 files changed, 43 insertions(+), 32 deletions(-)

diff --git a/dev-lang/rust/Manifest b/dev-lang/rust/Manifest
index 98c35db..569fab1 100644
--- a/dev-lang/rust/Manifest
+++ b/dev-lang/rust/Manifest
@@ -17,6 +17,7 @@ DIST rust-patches-1.87.0-r1-1.tar.bz2 5116 BLAKE2B 
783ad21464a7e393d0aee506119be
 DIST rust-patches-1.88.0.tar.bz2 4062 BLAKE2B 
64168ffa608f2edf2e0b3d079152c3b5dd59d0cea29078894f286bf91488e2e7769c55ede2d43769368d2147b46699d1bf981190d6800dc3d41c736289122eaf
 SHA512 
b565acfb4d1146e52b1fb66b4a242927407cc34f1b38c2a100135cbbde24c8374af1997bc22069cca25f33cc8d747e56391f3d98a2d4e13dc0abcec0d6f88b0b
 DIST rust-patches-1.89.0.tar.bz2 4091 BLAKE2B 
0fea3488a39d2b00627084f6b192dfbd7ed49bdceabbb1141d1a849ba053f786e31115e00365679b1b6fb5b0ccdf5dc0dc0803057cbffbcf0ae3d75ae9830d94
 SHA512 
de6c9b693bdd719d06605b5da730ee5d9cf9a1d88d58194a0ba48bd378a951c66723f561e39181222d28abb38e974a2921e14ea1f40156caf7b903778cf65790
 DIST rust-patches-1.90.0.tar.bz2 4183 BLAKE2B 
e6cc7516bd386c020be208e9931221edb301a94b6b5cf8140d68ddd5e13b1ddaaa53b52b4b7b039faf2a7caf44107f170afb01e15ac7487c6fe5146feff3789b
 SHA512 
0cbf6dd9fc8b68e265dd146423c82c72bccf1ef7f81c5bab87c5d53dda1ecce80ffad361f2c276ab713616847126c277af7b1e48327d433f6202361e25cf5201
+DIST rust-patches-1.90.0_p1.tar.bz2 6095 BLAKE2B 
d94899021a2ad0bd2de00c15a04b6a5437fa156f7a1b0b18d31e9487312004dfb2d9cb487eacd30592066ef168e088608bd4fc0c7e383c2fe5ec0a8bfd666b0b
 SHA512 
351ea7dcdea3767b7affe40dc3d2684b7fc56cd0dcd06a6feb86ecb5d62d0451083fae20f878eb1a04c0f8cb31c6f7c96cb5bc84fc22844328fbcfcdf0ae03fb
 DIST rust-patches-1.91.0.tar.bz2 6041 BLAKE2B 
7ebc846e0ae7b496b4ed89a8b0a5c397923e4dd6c83a1289e0b98f57477feea35978224b9c4ae19a129282a8c53bdd68f8ab615821f62e4bb5fda8e39b03eeb9
 SHA512 
fee179ec4e4c90aacfc7f8de2b4d41c80472e1fee17dbfc5ebf384d0fb8ec5afb3f8110a429abaf5a74a924fd1926ab69b29d1b2bafd3b5014b2ad360ca24cce
 DIST rust-patches-1.92.0_p1.tar.bz2 5993 BLAKE2B 
aa3183a46834b9442fd79fcda61a308b6b1831c9eab6c5a48c6fca7eef49267af815a3d53c0f17563483dbb58e4c4cb9ab09e4f00c32c37b5411d184e222079b
 SHA512 
c2ec50796e8037b1bb1074c516816c9edc815db503ccac0cde4884a7f190e186897cb91ecbad7e1bb7e34b6753d2ccbbc59e83c8efdff452c1ed446850347000
 DIST rustc-1.74.1-src.tar.xz 155968724 BLAKE2B 
e05f2379ac94b286f85791a138e1928e5b5b5a7749f0981d82c40c2a12860f55bf96bb2f0e924e35a0f8b2447b13052d38adea909aaa3199105787bb5a4861b3
 SHA512 
14c7e7ed2f38ab60299d8c7d41d78f042b6b57ef822d577b5138e60bdde31cf141eccd4332a25bc5da3d58eb5313d63c1448b5dfe9e11b8055bb8ea133a9038d

diff --git a/dev-lang/rust/rust-1.74.1-r101.ebuild 
b/dev-lang/rust/rust-1.74.1-r101.ebuild
index 44000a8..f850f7b 100644
--- a/dev-lang/rust/rust-1.74.1-r101.ebuild
+++ b/dev-lang/rust/rust-1.74.1-r101.ebuild
@@ -103,7 +103,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.75.0-r101.ebuild 
b/dev-lang/rust/rust-1.75.0-r101.ebuild
index f30a382..f0e3306 100644
--- a/dev-lang/rust/rust-1.75.0-r101.ebuild
+++ b/dev-lang/rust/rust-1.75.0-r101.ebuild
@@ -93,7 +93,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.76.0-r101.ebuild 
b/dev-lang/rust/rust-1.76.0-r101.ebuild
index d943df0..4fb4e44 100644
--- a/dev-lang/rust/rust-1.76.0-r101.ebuild
+++ b/dev-lang/rust/rust-1.76.0-r101.ebuild
@@ -93,7 +93,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.77.1-r101.ebuild 
b/dev-lang/rust/rust-1.77.1-r101.ebuild
index 974633b..79b2daf 100644
--- a/dev-lang/rust/rust-1.77.1-r101.ebuild
+++ b/dev-lang/rust/rust-1.77.1-r101.ebuild
@@ -93,7 +93,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.78.0-r101.ebuild 
b/dev-lang/rust/rust-1.78.0-r101.ebuild
index 4fda805..21a8dee 100644
--- a/dev-lang/rust/rust-1.78.0-r101.ebuild
+++ b/dev-lang/rust/rust-1.78.0-r101.ebuild
@@ -93,7 +93,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.79.0-r101.ebuild 
b/dev-lang/rust/rust-1.79.0-r101.ebuild
index 3aa88cb..22b5e17 100644
--- a/dev-lang/rust/rust-1.79.0-r101.ebuild
+++ b/dev-lang/rust/rust-1.79.0-r101.ebuild
@@ -93,7 +93,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.80.1-r101.ebuild 
b/dev-lang/rust/rust-1.80.1-r101.ebuild
index 8968b03..9d8b4c4 100644
--- a/dev-lang/rust/rust-1.80.1-r101.ebuild
+++ b/dev-lang/rust/rust-1.80.1-r101.ebuild
@@ -93,7 +93,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.81.0-r101.ebuild 
b/dev-lang/rust/rust-1.81.0-r101.ebuild
index 5323418..d475a43 100644
--- a/dev-lang/rust/rust-1.81.0-r101.ebuild
+++ b/dev-lang/rust/rust-1.81.0-r101.ebuild
@@ -94,7 +94,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.82.0-r103.ebuild 
b/dev-lang/rust/rust-1.82.0-r103.ebuild
index 244125d..6236883 100644
--- a/dev-lang/rust/rust-1.82.0-r103.ebuild
+++ b/dev-lang/rust/rust-1.82.0-r103.ebuild
@@ -93,7 +93,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.83.0-r3.ebuild 
b/dev-lang/rust/rust-1.83.0-r3.ebuild
index d4539fc..48586d7 100644
--- a/dev-lang/rust/rust-1.83.0-r3.ebuild
+++ b/dev-lang/rust/rust-1.83.0-r3.ebuild
@@ -93,7 +93,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.84.0-r2.ebuild 
b/dev-lang/rust/rust-1.84.0-r2.ebuild
index a6565df..09ade8f 100644
--- a/dev-lang/rust/rust-1.84.0-r2.ebuild
+++ b/dev-lang/rust/rust-1.84.0-r2.ebuild
@@ -99,7 +99,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.84.1-r2.ebuild 
b/dev-lang/rust/rust-1.84.1-r2.ebuild
index 2ec3b2b..d6715b0 100644
--- a/dev-lang/rust/rust-1.84.1-r2.ebuild
+++ b/dev-lang/rust/rust-1.84.1-r2.ebuild
@@ -99,7 +99,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.85.0-r2.ebuild 
b/dev-lang/rust/rust-1.85.0-r2.ebuild
index 6010f62..c40ff77 100644
--- a/dev-lang/rust/rust-1.85.0-r2.ebuild
+++ b/dev-lang/rust/rust-1.85.0-r2.ebuild
@@ -115,7 +115,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.85.1-r1.ebuild 
b/dev-lang/rust/rust-1.85.1-r1.ebuild
index 0af14a8..3bce4c5 100644
--- a/dev-lang/rust/rust-1.85.1-r1.ebuild
+++ b/dev-lang/rust/rust-1.85.1-r1.ebuild
@@ -115,7 +115,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.86.0-r2.ebuild 
b/dev-lang/rust/rust-1.86.0-r2.ebuild
index 36535ef..c718de6 100644
--- a/dev-lang/rust/rust-1.86.0-r2.ebuild
+++ b/dev-lang/rust/rust-1.86.0-r2.ebuild
@@ -115,7 +115,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.87.0-r1.ebuild 
b/dev-lang/rust/rust-1.87.0-r1.ebuild
index 595f2bd..d9f55cd 100644
--- a/dev-lang/rust/rust-1.87.0-r1.ebuild
+++ b/dev-lang/rust/rust-1.87.0-r1.ebuild
@@ -64,8 +64,8 @@ ALL_LLVM_TARGETS=( AArch64 AMDGPU ARC ARM AVR BPF CSKY 
DirectX Hexagon Lanai
 ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
 LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
 
-# 
https://github.com/rust-lang/llvm-project/blob/rustc-1.84.0/llvm/CMakeLists.txt
-_ALL_RUST_EXPERIMENTAL_TARGETS=( ARC CSKY DirectX M68k SPIRV Xtensa )
+# 
https://github.com/rust-lang/llvm-project/blob/rustc-1.87.0/llvm/CMakeLists.txt
+_ALL_RUST_EXPERIMENTAL_TARGETS=( ARC CSKY DirectX M68k Xtensa )
 declare -A ALL_RUST_EXPERIMENTAL_TARGETS
 for _x in "${_ALL_RUST_EXPERIMENTAL_TARGETS[@]}"; do
        ALL_RUST_EXPERIMENTAL_TARGETS["llvm_targets_${_x}"]=0
@@ -117,7 +117,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.88.0.ebuild b/dev-lang/rust/rust-1.88.0.ebuild
index 79e86bd..335c2ec 100644
--- a/dev-lang/rust/rust-1.88.0.ebuild
+++ b/dev-lang/rust/rust-1.88.0.ebuild
@@ -55,8 +55,8 @@ ALL_LLVM_TARGETS=( AArch64 AMDGPU ARC ARM AVR BPF CSKY 
DirectX Hexagon Lanai
 ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
 LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
 
-# 
https://github.com/rust-lang/llvm-project/blob/rustc-1.84.0/llvm/CMakeLists.txt
-_ALL_RUST_EXPERIMENTAL_TARGETS=( ARC CSKY DirectX M68k SPIRV Xtensa )
+# 
https://github.com/rust-lang/llvm-project/blob/rustc-1.87.0/llvm/CMakeLists.txt
+_ALL_RUST_EXPERIMENTAL_TARGETS=( ARC CSKY DirectX M68k Xtensa )
 declare -A ALL_RUST_EXPERIMENTAL_TARGETS
 for _x in "${_ALL_RUST_EXPERIMENTAL_TARGETS[@]}"; do
        ALL_RUST_EXPERIMENTAL_TARGETS["llvm_targets_${_x}"]=0
@@ -108,7 +108,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.89.0.ebuild b/dev-lang/rust/rust-1.89.0.ebuild
index 1c0a19a..2132eec 100644
--- a/dev-lang/rust/rust-1.89.0.ebuild
+++ b/dev-lang/rust/rust-1.89.0.ebuild
@@ -55,8 +55,8 @@ ALL_LLVM_TARGETS=( AArch64 AMDGPU ARC ARM AVR BPF CSKY 
DirectX Hexagon Lanai
 ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
 LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
 
-# 
https://github.com/rust-lang/llvm-project/blob/rustc-1.84.0/llvm/CMakeLists.txt
-_ALL_RUST_EXPERIMENTAL_TARGETS=( ARC CSKY DirectX M68k SPIRV Xtensa )
+# 
https://github.com/rust-lang/llvm-project/blob/rustc-1.87.0/llvm/CMakeLists.txt
+_ALL_RUST_EXPERIMENTAL_TARGETS=( ARC CSKY DirectX M68k Xtensa )
 declare -A ALL_RUST_EXPERIMENTAL_TARGETS
 for _x in "${_ALL_RUST_EXPERIMENTAL_TARGETS[@]}"; do
        ALL_RUST_EXPERIMENTAL_TARGETS["llvm_targets_${_x}"]=0
@@ -108,7 +108,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.90.0-r1.ebuild 
b/dev-lang/rust/rust-1.90.0-r1.ebuild
index ca6fa3c..14d1495 100644
--- a/dev-lang/rust/rust-1.90.0-r1.ebuild
+++ b/dev-lang/rust/rust-1.90.0-r1.ebuild
@@ -6,7 +6,10 @@ EAPI=8
 LLVM_COMPAT=( 20 )
 PYTHON_COMPAT=( python3_{11..14} )
 
-RUST_PATCH_VER=${PV}
+# We bumped the rust-patches tag without bumping the revision for
+# https://bugs.gentoo.org/963657, given that ithe patch affects only a
+# specific use case (bootstrap with Rust 1.90.0).
+RUST_PATCH_VER=${PV}_p1
 
 RUST_MAX_VER=${PV%%_*}
 if [[ ${PV} == *9999* ]]; then
@@ -55,8 +58,8 @@ ALL_LLVM_TARGETS=( AArch64 AMDGPU ARC ARM AVR BPF CSKY 
DirectX Hexagon Lanai
 ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
 LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
 
-# 
https://github.com/rust-lang/llvm-project/blob/rustc-1.84.0/llvm/CMakeLists.txt
-_ALL_RUST_EXPERIMENTAL_TARGETS=( ARC CSKY DirectX M68k SPIRV Xtensa )
+# 
https://github.com/rust-lang/llvm-project/blob/rustc-1.87.0/llvm/CMakeLists.txt
+_ALL_RUST_EXPERIMENTAL_TARGETS=( ARC CSKY DirectX M68k Xtensa )
 declare -A ALL_RUST_EXPERIMENTAL_TARGETS
 for _x in "${_ALL_RUST_EXPERIMENTAL_TARGETS[@]}"; do
        ALL_RUST_EXPERIMENTAL_TARGETS["llvm_targets_${_x}"]=0
@@ -113,7 +116,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}
@@ -343,6 +346,13 @@ src_prepare() {
        PATCHES=(
                "${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
        )
+       # Apply patches for bootstrapping with a particular Rust version 
(RUST_SLOT).
+       local 
bootstrap_patchdir="${WORKDIR}/rust-patches-${RUST_PATCH_VER}/${RUST_SLOT}"
+       if [[ -d "${bootstrap_patchdir}" ]]; then
+               PATCHES+=(
+                       "${bootstrap_patchdir}"
+               )
+       fi
 
        if use lto && tc-is-clang && ! tc-ld-is-lld && ! tc-ld-is-mold; then
                export RUSTFLAGS+=" -C link-arg=-fuse-ld=lld"

diff --git a/dev-lang/rust/rust-1.90.0.ebuild b/dev-lang/rust/rust-1.90.0.ebuild
index 2d5e3c6..74c5966 100644
--- a/dev-lang/rust/rust-1.90.0.ebuild
+++ b/dev-lang/rust/rust-1.90.0.ebuild
@@ -108,7 +108,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

diff --git a/dev-lang/rust/rust-1.91.0.ebuild b/dev-lang/rust/rust-1.91.0.ebuild
index 709be9b..3615a31 100644
--- a/dev-lang/rust/rust-1.91.0.ebuild
+++ b/dev-lang/rust/rust-1.91.0.ebuild
@@ -57,8 +57,8 @@ ALL_LLVM_TARGETS=( AArch64 AMDGPU ARC ARM AVR BPF CSKY 
DirectX Hexagon Lanai
 ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
 LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
 
-# 
https://github.com/rust-lang/llvm-project/blob/rustc-1.84.0/llvm/CMakeLists.txt
-_ALL_RUST_EXPERIMENTAL_TARGETS=( ARC CSKY DirectX M68k SPIRV Xtensa )
+# 
https://github.com/rust-lang/llvm-project/blob/rustc-1.87.0/llvm/CMakeLists.txt
+_ALL_RUST_EXPERIMENTAL_TARGETS=( ARC CSKY DirectX M68k Xtensa )
 declare -A ALL_RUST_EXPERIMENTAL_TARGETS
 for _x in "${_ALL_RUST_EXPERIMENTAL_TARGETS[@]}"; do
        ALL_RUST_EXPERIMENTAL_TARGETS["llvm_targets_${_x}"]=0
@@ -115,7 +115,7 @@ BDEPEND="${PYTHON_DEPS}
 DEPEND="
        >=app-arch/xz-utils-5.2
        net-misc/curl:=[http2,ssl]
-       sys-libs/zlib:=
+       virtual/zlib:=
        dev-libs/openssl:0=
        system-llvm? (
                ${LLVM_DEPEND[*]}

Reply via email to