Skip to content

Commit

Permalink
addpatch: libredefender
Browse files Browse the repository at this point in the history
Apply upstream char fix. Supersedes #384.
  • Loading branch information
hack3ric committed Aug 10, 2023
1 parent 623b9be commit 05f5fb6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions libredefender/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--- PKGBUILD
+++ PKGBUILD
@@ -20,8 +20,8 @@ validpgpkeys=("64B13F7117D6E07D661BBCE0FE763A64F5E54FD6")

prepare() {
cd "${pkgname}-${pkgver}"
- patch -i ../clamav-1.0.patch
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+ echo -e '\n[patches.crates-io]\n{ git = "https://github.com/losynix/clamav-rs.git", branch = "patches" }' >> Cargo.toml
+ cargo fetch --locked
}

build() {

0 comments on commit 05f5fb6

Please sign in to comment.