bridge-utils: real fix musl.

This commit is contained in:
Enno Boland 2015-12-30 17:33:24 +01:00
parent cebe653dea
commit 01bd9eb4fd
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'bridge-utils'
pkgname=bridge-utils
version=1.5
revision=8
revision=9
build_style=gnu-configure
hostmakedepends="automake"
short_desc="Layer2 ethernet bridging for Linux"
@ -11,8 +11,9 @@ homepage="http://www.linuxfoundation.org/collaborate/workgroups/networking/bridg
distfiles="${SOURCEFORGE_SITE}/bridge/$pkgname-$version.tar.gz"
checksum=42f9e5fb8f6c52e63a98a43b81bd281c227c529f194913e1c51ec48a393b6688
configure_args="--sbindir=/usr/bin"
CFLAGS="-fPIC -Du_int16_t=uint16_t -Du_int32_t=uint32_t -Du_int8_t=uint8_t"
nopie=yes
pre_configure() {
sed "s/u_int\([0-9]*\)_t/uint\1_t/" -i libbridge/libbridge.h
autoreconf -fi
}