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 ef77c9d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions libredefender/riscv64.patch
Original file line number Diff line number Diff line change
@@ -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() {

0 comments on commit ef77c9d

Please sign in to comment.