nwipe: unbreak on glibc (use off_t and _FILE_OFFSET_BITS=64).

This commit is contained in:
Juan RP 2016-07-29 07:42:26 +02:00
parent 350cbac8db
commit d5e5ef408f
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'nwipe'
pkgname=nwipe
version=0.18
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="libuuid-devel libparted-devel ncurses-devel"
@ -12,6 +12,9 @@ homepage="https://github.com/martijnvanbrummelen/nwipe"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=3074989c4fc9390d84d31d6d32e13955be005d9b4a150542d84259bf6346e3f9
CFLAGS="-D_FILE_OFFSET_BITS=64"
pre_configure() {
sed -i 's,off64_t,off_t,g' src/*.[ch]
sh init.sh
}