rtmpdump: unbreak musl.
This commit is contained in:
parent
6bd6acf934
commit
0d33eaad90
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'rtmpdump'
|
# Template file for 'rtmpdump'
|
||||||
pkgname=rtmpdump
|
pkgname=rtmpdump
|
||||||
version=2.4.20161210
|
version=2.4.20161210
|
||||||
revision=1
|
revision=2
|
||||||
_patchlevel=${version##*.}
|
_patchlevel=${version##*.}
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
makedepends="zlib-devel libressl-devel"
|
makedepends="zlib-devel libressl-devel"
|
||||||
|
@ -11,11 +11,11 @@ homepage="http://rtmpdump.mplayerhq.hu/"
|
||||||
license="GPL-2, LGPL-2.1"
|
license="GPL-2, LGPL-2.1"
|
||||||
distfiles="http://dev.gentoo.org/~hwoarang/distfiles/${pkgname}-${version%.*}_p${_patchlevel}.tar.gz"
|
distfiles="http://dev.gentoo.org/~hwoarang/distfiles/${pkgname}-${version%.*}_p${_patchlevel}.tar.gz"
|
||||||
checksum=d6da3b683f1045f02d94a81b0c583318dba021f69bdab970c5d5d73e8c38860f
|
checksum=d6da3b683f1045f02d94a81b0c583318dba021f69bdab970c5d5d73e8c38860f
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
aarch64-musl) broken="https://build.voidlinux.eu/builders/aarch64-musl_builder/builds/1409/steps/shell_3/logs/stdio" ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
CFLAGS="-Wno-unused-const-variable -Wno-unused-but-set-variable"
|
CFLAGS="-Wno-unused-const-variable -Wno-unused-but-set-variable"
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) CFLAGS+=" -D__LINUX_NETFILTER_H"
|
||||||
|
esac
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make CC="$CC" OPT="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
|
make CC="$CC" OPT="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
|
||||||
|
|
Loading…
Reference in New Issue