ebtables: musl fixes.
This commit is contained in:
parent
4e2c2d277a
commit
927114ae68
1 changed files with 3 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue