Skip to content

Commit

Permalink
addpatch: niri 0.1.10.1-1
Browse files Browse the repository at this point in the history
Fix rustix vDSO RISC-V getcpu not correctly named. Upstreamed to bytecodealliance/rustix#1239.
  • Loading branch information
hack3ric authored and felixonmars committed Dec 15, 2024
1 parent 7b8e19a commit 514f12c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions niri/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- PKGBUILD
+++ PKGBUILD
@@ -48,6 +48,8 @@ b2sums=('394cce3c11d19ef65d450a0e402e3c97affdff798340bb37aba90ea9b49c4cb5e741787
prepare() {
cd $pkgname-$pkgver
export RUSTUP_TOOLCHAIN=stable
+ echo -e "\n[patch.crates-io]\nrustix = { git = 'https://github.com/hack3ric/rustix', branch = 'riscv-0.38.41' }" >> Cargo.toml
+ cargo update -p [email protected]
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}

0 comments on commit 514f12c

Please sign in to comment.