mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 19:32:57 +02:00
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'
|
# Template file for 'ebtables'
|
||||||
pkgname=ebtables
|
pkgname=ebtables
|
||||||
version=2.0.10.4
|
version=2.0.10.4
|
||||||
revision=6
|
revision=7
|
||||||
_distver=${version%.*}-${version##*.}
|
_distver=${version%.*}-${version##*.}
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
conf_files="/etc/ebtables.conf"
|
conf_files="/etc/ebtables.conf"
|
||||||
|
@ -23,7 +23,8 @@ make_install_args="
|
||||||
LDFLAGS="-Wl,--no-as-needed"
|
LDFLAGS="-Wl,--no-as-needed"
|
||||||
|
|
||||||
pre_build() {
|
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() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue