v4l-utils: unbreak musl build (take 2): __off64_t -> off_t
This commit is contained in:
parent
04474c440d
commit
31828cadd6
1 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,9 @@ distfiles="http://linuxtv.org/downloads/$pkgname/$pkgname-$version.tar.bz2"
|
||||||
checksum=164abf5c1befcd27e8e6ef824a82d4015bdfb5d99ae82daa00e77d895ff9864c
|
checksum=164abf5c1befcd27e8e6ef824a82d4015bdfb5d99ae82daa00e77d895ff9864c
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
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
|
esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue