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() {