diff --git a/srcpkgs/bridge-utils/template b/srcpkgs/bridge-utils/template index 7593d2e0f5d..e119ad4b630 100644 --- a/srcpkgs/bridge-utils/template +++ b/srcpkgs/bridge-utils/template @@ -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 }