Skip to content

Commit

Permalink
addpatch: python-mitmproxy-rs 0.11.4-1
Browse files Browse the repository at this point in the history
Fix aya build: aya-rs/aya#1139
  • Loading branch information
hack3ric committed Jan 21, 2025
1 parent 8c237b2 commit 8553ea6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions python-mitmproxy-rs/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--- PKGBUILD
+++ PKGBUILD
@@ -51,4 +51,10 @@ package() {
install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

+prepare() {
+ cd ${_pyname}-${pkgver}
+ sed -i '/\[patch\.crates-io\]/a aya-ebpf-bindings = { git = "https://github.com/hack3ric/aya", branch = "riscv64" }' Cargo.toml
+ sed -i '/\[patch\.crates-io\]/a aya-ebpf = { git = "https://github.com/hack3ric/aya", branch = "riscv64" }' Cargo.toml
+}
+
# vim: ts=2 sw=2 et:

0 comments on commit 8553ea6

Please sign in to comment.