Skip to content

Commit

Permalink
addpatch: python-proton-vpn-local-agent 1.2.0-4
Browse files Browse the repository at this point in the history
  • Loading branch information
Xeonacid authored and felixonmars committed Dec 29, 2024
1 parent 1b7bf75 commit d7d799f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions python-proton-vpn-local-agent/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git PKGBUILD PKGBUILD
index cd28d94..8732031 100644
--- PKGBUILD
+++ PKGBUILD
@@ -20,6 +20,8 @@
makedepends=(
git
cargo
+ cmake
+ clang
)
source=("git+https://github.com/ProtonVPN/local-agent-rs.git#tag=${pkgver}")
sha256sums=('7f4f04942328d1512c710d28fa172a868b71f82bf7bd13f9e6433244afc41190')
@@ -31,6 +33,8 @@

build() {
cd "${srcdir}"/local-agent-rs/python-proton-vpn-local-agent
+ export CFLAGS=${CFLAGS/-Wp,-D_FORTIFY_SOURCE=3/}
+ export CXXFLAGS=${CXXFLAGS/-Wp,-D_FORTIFY_SOURCE=3/}
cargo build --frozen --release --all-features
}

0 comments on commit d7d799f

Please sign in to comment.