mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 15:13:51 +02:00
stress-ng: update to 0.16.00.
This commit is contained in:
parent
7c21f725f9
commit
896b72ea7f
2 changed files with 17 additions and 2 deletions
11
srcpkgs/stress-ng/patches/cross.patch
Normal file
11
srcpkgs/stress-ng/patches/cross.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/Makefile.config
|
||||
+++ b/Makefile.config
|
||||
@@ -310,7 +310,7 @@
|
||||
|
||||
compiler: configdir
|
||||
@echo "checking compiler ..."
|
||||
- @$(CC) test/test-compiler.c -o test/test-compiler
|
||||
+ @$(HOST_CC) test/test-compiler.c -o test/test-compiler
|
||||
@echo "" > $(CONFIGS)/$$(./test/test-compiler)
|
||||
@rm -f test/test-compiler
|
||||
$(call check,test-glibc,HAVE_GLIBC,using glibc)
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'stress-ng'
|
||||
pkgname=stress-ng
|
||||
version=0.15.08
|
||||
version=0.16.00
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_use_env=1
|
||||
|
@ -9,7 +9,11 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|||
license="GPL-2.0-or-later"
|
||||
homepage="https://github.com/ColinIanKing/stress-ng/"
|
||||
distfiles="https://github.com/ColinIanKing/stress-ng/archive/refs/tags/V${version}.tar.gz"
|
||||
checksum=aca526f434bcf27fcf62da57f70458c7736899318b570bce0ee3da05a51cb84a
|
||||
checksum=f3d99281fe2f9695d627608a3aa610dfd6f3fa6eb1a3d7c457b09ff6defd0f78
|
||||
|
||||
pre_build() {
|
||||
export HOST_CC="$CC_FOR_BUILD"
|
||||
}
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
makedepends+=" musl-legacy-compat"
|
||||
|
|
Loading…
Add table
Reference in a new issue