bridge-utils: fix CFLAGS, enable PIE.

This commit is contained in:
Christian Neukirchen 2016-10-08 21:46:20 +02:00
parent a963aae274
commit f6885f2230
2 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- libbridge/Makefile.in.orig
+++ libbridge/Makefile.in
@@ -5,7 +5,7 @@
RANLIB=@RANLIB@
CC=@CC@
-CFLAGS = -Wall -g $(KERNEL_HEADERS)
+CFLAGS = @CFLAGS@ -Wall -g $(KERNEL_HEADERS)
prefix=@prefix@
exec_prefix=@exec_prefix@

View File

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