Skip to content

Commit

Permalink
addpatch: sniffnet
Browse files Browse the repository at this point in the history
  • Loading branch information
hack3ric authored and felixonmars committed Jul 6, 2023
1 parent 053f7c3 commit 37bf237
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sniffnet/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--- PKGBUILD
+++ PKGBUILD
@@ -20,7 +20,9 @@ options=('!lto')

prepare() {
cd "$pkgname-$pkgver"
- 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
}

build() {

0 comments on commit 37bf237

Please sign in to comment.