diff --git a/sn0int/riscv64.patch b/sn0int/riscv64.patch index 80fa8f5d4..bf3f87153 100644 --- a/sn0int/riscv64.patch +++ b/sn0int/riscv64.patch @@ -1,13 +1,13 @@ +diff --git PKGBUILD PKGBUILD +index 414cff7..cb6fe54 100644 --- PKGBUILD +++ PKGBUILD -@@ -25,7 +25,9 @@ validpgpkeys=("64B13F7117D6E07D661BBCE0FE763A64F5E54FD6") +@@ -36,6 +36,8 @@ validpgpkeys=("64B13F7117D6E07D661BBCE0FE763A64F5E54FD6") 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 + cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" } - build() {