From 514f12cf293eecc2e21a0b4554a65635b6918fea Mon Sep 17 00:00:00 2001 From: Eric Long Date: Sun, 15 Dec 2024 13:32:28 +0800 Subject: [PATCH] addpatch: niri 0.1.10.1-1 Fix rustix vDSO RISC-V getcpu not correctly named. Upstreamed to https://github.com/bytecodealliance/rustix/pull/1239. --- niri/riscv64.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 niri/riscv64.patch diff --git a/niri/riscv64.patch b/niri/riscv64.patch new file mode 100644 index 000000000..bcfe010f4 --- /dev/null +++ b/niri/riscv64.patch @@ -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 rustix@0.38 + cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" + } +