diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-08-14 10:02:09 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-08-14 10:02:09 +0200 |
commit | 906d0f8f2dec23d5deaed51a858335752e4a6ee0 (patch) | |
tree | 90253524f1bc918c6f6f6484f77f5004d28edf6d /sys-apps/iproute2/files/iproute2-4.5.0-no-iptables.patch | |
parent | sys-apps/iproute2: Bump to version 4.18.0 (diff) | |
download | gentoo-906d0f8f2dec23d5deaed51a858335752e4a6ee0.tar.gz gentoo-906d0f8f2dec23d5deaed51a858335752e4a6ee0.tar.bz2 gentoo-906d0f8f2dec23d5deaed51a858335752e4a6ee0.zip |
sys-apps/iproute2: Removed old.
Package-Manager: Portage-2.3.46, Repoman-2.3.10
Diffstat (limited to 'sys-apps/iproute2/files/iproute2-4.5.0-no-iptables.patch')
-rw-r--r-- | sys-apps/iproute2/files/iproute2-4.5.0-no-iptables.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/sys-apps/iproute2/files/iproute2-4.5.0-no-iptables.patch b/sys-apps/iproute2/files/iproute2-4.5.0-no-iptables.patch deleted file mode 100644 index 7ed9dfbad248..000000000000 --- a/sys-apps/iproute2/files/iproute2-4.5.0-no-iptables.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- iproute2-4.5.0/configure~ 2016-03-14 23:02:31.000000000 +0000 -+++ iproute2-4.5.0/configure 2016-03-17 13:24:17.634743197 +0000 -@@ -169,10 +169,25 @@ - - check_ipt() - { -- if ! grep TC_CONFIG_XT Config > /dev/null -+ if grep -q TC_CONFIG_XT Config - then -+ return -+ fi -+ -+ cat >$TMPDIR/ipttest.c <<EOF -+#include <iptables.h> -+int main() { return 0; } -+EOF -+ -+ if $CC -std=c90 -I$INCLUDE $IPTC -o $TMPDIR/ipttest $TMPDIR/ipttest.c $IPTL \ -+ $(${PKG_CONFIG} libiptc --cflags --libs 2>/dev/null) -ldl >/dev/null 2>&1 -+ then -+ echo "TC_CONFIG_IPT:=y" >>Config - echo "using iptables" -+ else -+ echo "no" - fi -+ rm -f $TMPDIR/ipttest.c $TMPDIR/ipttest - } - - check_ipt_lib_dir() ---- iproute2-4.5.0/tc/Makefile~ 2016-03-14 23:02:31.000000000 +0000 -+++ iproute2-4.5.0/tc/Makefile 2016-03-17 13:18:18.686689985 +0000 -@@ -88,7 +88,9 @@ - CFLAGS += -DTC_CONFIG_XT_H - TCSO += m_xt_old.so - else -- TCMODULES += m_ipt.o -+ ifeq ($(TC_CONFIG_IPT),y) -+ TCMODULES += m_ipt.o -+ endif - endif - endif - endif |