Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updpatch: sh4d0wup 0.10.0 #4313

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions sh4d0wup/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
diff --git PKGBUILD PKGBUILD
index 561d8b8..e37ea14 100644
--- PKGBUILD
+++ PKGBUILD
@@ -33,6 +33,8 @@ b2sums=('cd594be73fcf632544195d09518901b1055ae86dcf463a5d446a83beba66073c70a9dfb
@@ -23,6 +23,7 @@ checkdepends=('sequoia-sq')
makedepends=(
'cargo'
'clang'
+ 'cmake'
)
options=(!lto)
source=(https://github.com/kpcyrd/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
@@ -31,6 +32,8 @@ b2sums=('7109e4523a61478a7f51e28f1a850071c3c9b966e47a5ef4e59c9e62b5267ae255b1d6b

prepare() {
cd "${pkgname}-${pkgver}"
Expand All @@ -11,3 +17,11 @@ index 561d8b8..e37ea14 100644
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}

@@ -41,6 +44,7 @@ build() {

check() {
cd ${pkgname}-${pkgver}
+ CFLAGS=${CFLAGS/-Wp,-D_FORTIFY_SOURCE=3/}
cargo test --frozen
}

Loading