diff --git a/typst/riscv64.patch b/typst/riscv64.patch index bee80aebc..cbaf39fb1 100644 --- a/typst/riscv64.patch +++ b/typst/riscv64.patch @@ -1,10 +1,12 @@ --- PKGBUILD +++ PKGBUILD -@@ -20,7 +20,7 @@ sha256sums=('f52e1cab191034354b3adaa97c27cbf16ed99486dc302b014bf211a8b6a7e964') +@@ -20,7 +20,9 @@ sha256sums=('0f5c16c2143bbdc8889d823506e29a4706f8606ce29769916d71b17a05dda568') 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 }