nwipe: update to 0.26.

This commit is contained in:
mobinmob 2019-10-02 13:59:02 +03:00 committed by Juan RP
parent 2f1d83c41c
commit 936fd5ff4c
1 changed files with 8 additions and 3 deletions

View File

@ -1,7 +1,8 @@
# Template file for 'nwipe'
pkgname=nwipe
version=0.25
version=0.26
revision=1
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="libuuid-devel libparted-devel ncurses-devel"
@ -10,11 +11,15 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://github.com/martijnvanbrummelen/nwipe"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=27104ad5788ccee0f1238dba1e40f36bc454054d609ef037e6af156efeda0b67
checksum=b8f37b4f1529931bdd5635d33baa35b7c08755e7ef5f0556b629c0360c85c920
# nwipe.c:29:10: fatal error: bits/pthreadtypes.h: No such file or directory
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="nwipe broken on musl"
esac
CFLAGS="-D_FILE_OFFSET_BITS=64"
pre_configure() {
sed -i 's,off64_t,off_t,g' src/*.[ch]
sh init.sh
}