Skip to content

Commit

Permalink
updpatch: sshx 0.3.1-1
Browse files Browse the repository at this point in the history
  • Loading branch information
cybaol authored and felixonmars committed Jan 22, 2025
1 parent 38058f2 commit 0cbcbbb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions sshx/riscv64.patch
Original file line number Diff line number Diff line change
@@ -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() {

0 comments on commit 0cbcbbb

Please sign in to comment.