commit: 66a7126313570b5fbc7626721ef00ff39a1f2f77 Author: orbea <orbea <AT> riseup <DOT> net> AuthorDate: Mon Mar 11 14:56:55 2024 +0000 Commit: orbea <orbea <AT> riseup <DOT> net> CommitDate: Mon Mar 11 14:56:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=66a71263
dev-lang/rust: commit the correct rust ebuild Signed-off-by: orbea <orbea <AT> riseup.net> dev-lang/rust/rust-1.76.0.ebuild | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dev-lang/rust/rust-1.76.0.ebuild b/dev-lang/rust/rust-1.76.0.ebuild index 5c6cef7..0fc5c81 100644 --- a/dev-lang/rust/rust-1.76.0.ebuild +++ b/dev-lang/rust/rust-1.76.0.ebuild @@ -178,6 +178,14 @@ clear_vendor_checksums() { sed -i 's/\("files":{\)[^}]*/\1/' "vendor/${1}/.cargo-checksum.json" || die } +eapply_crate() { + pushd "${1:?}" > /dev/null || die + local patch="${2:?}" + eapply "${patch}" + "${EPREFIX}"/bin/sh "${FILESDIR}"/rehash-crate.sh "${patch}" || die + popd > /dev/null || die +} + toml_usex() { usex "${1}" true false } @@ -303,6 +311,8 @@ esetup_unwind_hack() { } src_prepare() { + eapply_crate vendor/openssl-sys "${FILESDIR}"/1.72.0-libressl-openssl-sys.patch + # Clear vendor checksums for crates that we patched to bump libc. # NOTE: refresh this on each bump. #for i in addr2line-0.20.0 bstr cranelift-jit crossbeam-channel elasticlunr-rs handlebars icu_locid libffi \