v4l-utils: unbreak musl build (take 2): __off64_t -> off_t

This commit is contained in:
Juan RP 2015-05-08 11:46:03 +02:00
parent 04474c440d
commit 31828cadd6
1 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,9 @@ distfiles="http://linuxtv.org/downloads/$pkgname/$pkgname-$version.tar.bz2"
checksum=164abf5c1befcd27e8e6ef824a82d4015bdfb5d99ae82daa00e77d895ff9864c
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" argp-standalone"; CFLAGS="-D__off_t=off_t"; LDFLAGS="-largp";;
*-musl) makedepends+=" argp-standalone"
CFLAGS="-D__off_t=off_t -D__off64_t=off_t"
LDFLAGS="-largp";;
esac
pre_configure() {