ebtables: musl fixes.

This commit is contained in:
Christian Neukirchen 2016-09-21 13:40:12 +02:00
parent 4e2c2d277a
commit 927114ae68

View File

@ -1,7 +1,7 @@
# Template file for 'ebtables'
pkgname=ebtables
version=2.0.10.4
revision=6
revision=7
_distver=${version%.*}-${version##*.}
build_style=gnu-makefile
conf_files="/etc/ebtables.conf"
@ -23,7 +23,8 @@ make_install_args="
LDFLAGS="-Wl,--no-as-needed"
pre_build() {
rm include/linux/if_ether.h
sed -i 's,<linux/if_ether.h>,<netinet/if_ether.h>,g; /<linux\/if_pppox.h>/d' include/linux/netfilter_bridge.h include/linux/netfilter_bridge/ebtables.h extensions/ebt_*.c
rm -f include/linux/if_ether.h
}
post_install() {