radvd: fix build on glibc.

This commit is contained in:
Christian Neukirchen 2015-05-16 17:07:11 +02:00
parent 8a0a9eecda
commit a8e1027743
1 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,11 @@ distfiles="http://www.litech.org/radvd/dist/${pkgname}-${version}.tar.xz"
checksum=04636288fc79fa151260eeb2bea1b05942f59c31f01358c57f930a4eb45b5acc
post_extract() {
sed -i 's/ARPHRD_IEEE802154_PHY/ARPHRD_IEEE802154_MONITOR/g' device-linux.c
case "$XBPS_TARGET_MACHINE" in
*-musl)
sed -i 's/ARPHRD_IEEE802154_PHY/ARPHRD_IEEE802154_MONITOR/g' \
device-linux.c
esac
}
post_install() {
vsv radvd