From ef77c9d6578facb9250f75949ad4b968560b3c69 Mon Sep 17 00:00:00 2001 From: Eric Long Date: Thu, 10 Aug 2023 16:40:51 +0800 Subject: [PATCH] addpatch: libredefender Apply upstream char fix. Supersedes #384. --- libredefender/riscv64.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 libredefender/riscv64.patch diff --git a/libredefender/riscv64.patch b/libredefender/riscv64.patch new file mode 100644 index 000000000..65cb517f7 --- /dev/null +++ b/libredefender/riscv64.patch @@ -0,0 +1,14 @@ +--- PKGBUILD ++++ PKGBUILD +@@ -20,8 +20,9 @@ validpgpkeys=("64B13F7117D6E07D661BBCE0FE763A64F5E54FD6") + + prepare() { + cd "${pkgname}-${pkgver}" +- patch -i ../clamav-1.0.patch +- cargo fetch --locked --target "$CARCH-unknown-linux-gnu" ++ echo -e '\n[patch.crates-io]\nclamav-rs = { git = "https://github.com/losynix/clamav-rs.git", branch = "patches" }' >> Cargo.toml ++ cargo update -p clamav-rs ++ cargo fetch --locked + } + + build() {