From 0cbcbbb4a5dcaf605ef11eb8601e01b372c0ae63 Mon Sep 17 00:00:00 2001 From: Kino Date: Fri, 17 Jan 2025 14:25:23 +0800 Subject: [PATCH] updpatch: sshx 0.3.1-1 --- sshx/riscv64.patch | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sshx/riscv64.patch b/sshx/riscv64.patch index 9acc34d99..6b68f18dd 100644 --- a/sshx/riscv64.patch +++ b/sshx/riscv64.patch @@ -1,13 +1,11 @@ --- PKGBUILD +++ PKGBUILD -@@ -23,7 +23,9 @@ sha256sums=('5773c2c65dea72ec4b98d22b0c0534b745c2c536ea5b1267ced5c668b3a6736f') +@@ -27,6 +27,8 @@ sha256sums=('73555ab4544fec7214da6a2b35f4b2412688e0a0e5c372cd663bee7934404982') prepare() { cd "$_archive" -- cargo fetch --locked --target "$CARCH-unknown-linux-gnu" -+ echo -e "\n[patch.crates-io]\nring = { git = 'https://github.com/felixonmars/ring', branch = '0.16.20' }" >> Cargo.toml -+ cargo update -p ring -+ cargo fetch --locked ++ echo -e "\n[patch.crates-io]\nring = { git = 'https://github.com/felixonmars/ring', branch = '0.16.20' }" >> Cargo.toml ++ cargo update -p ring + cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" } - build() {