Skip to content

Commit

Permalink
updpatch: sh4d0wup 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryolitia committed Nov 21, 2024
1 parent fa0d607 commit d539368
Showing 1 changed file with 17 additions and 3 deletions.
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
}

0 comments on commit d539368

Please sign in to comment.