summaryrefslogtreecommitdiff
path: root/dev-lang/rust/rust-1.87.0-r1.ebuild
diff options
context:
space:
mode:
authorMatt Jolly <kangie@gentoo.org>2025-07-29 18:09:42 +1000
committerMatt Jolly <kangie@gentoo.org>2025-07-29 18:21:02 +1000
commitb79bdcff48ff2b69af3bd98086e0d52068dd33d2 (patch)
treec3d0d098ff381fde7fb94f1e28b9b331d89f6330 /dev-lang/rust/rust-1.87.0-r1.ebuild
parent0be453700fd2f1d8b9b95f009b3e7baf7ae0ccff (diff)
downloadgentoo-b79bdcff48ff2b69af3bd98086e0d52068dd33d2.tar.gz
gentoo-b79bdcff48ff2b69af3bd98086e0d52068dd33d2.tar.bz2
gentoo-b79bdcff48ff2b69af3bd98086e0d52068dd33d2.zip
dev-lang/rust: move patches from files/ to git repo
Add reminder to ebuild to update the git repo and make a new tag as required instead of using filesdir: that's how we end up exceeding the limit; things are very rarely cleaned up here! Signed-off-by: Matt Jolly <kangie@gentoo.org>
Diffstat (limited to 'dev-lang/rust/rust-1.87.0-r1.ebuild')
-rw-r--r--dev-lang/rust/rust-1.87.0-r1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-lang/rust/rust-1.87.0-r1.ebuild b/dev-lang/rust/rust-1.87.0-r1.ebuild
index 44ae18b90462..3d8c34b2e3b5 100644
--- a/dev-lang/rust/rust-1.87.0-r1.ebuild
+++ b/dev-lang/rust/rust-1.87.0-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
LLVM_COMPAT=( 20 )
PYTHON_COMPAT=( python3_{11..14} )
-RUST_PATCH_VER=${PVR}
+RUST_PATCH_VER="${PVR}-1"
RUST_MAX_VER=${PV%%_*}
if [[ ${PV} == *9999* ]]; then
@@ -308,6 +308,8 @@ src_prepare() {
${CARGO} generate-lockfile --offline || die "Failed to generate lockfiles"
fi
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
@@ -317,8 +319,6 @@ src_prepare() {
fi
default
-
- eapply "${FILESDIR}"/rust-1.87.0-issue-139372-bgo-953956-fix-hardcoded-gnu-linker-flags.patch
}
src_configure() {