From f8f65155cda9182554dcbaba8f16b3f89592f598 Mon Sep 17 00:00:00 2001 From: Nicholas Vinson Date: Wed, 18 May 2016 06:38:36 -0700 Subject: net-misc/connman: Update xtables patch for kernel versions >= 4.6.0 Gentoo-bug: 583402 Package-Manager: portage-2.3.0_rc1 Signed-off-by: Sam Jorna --- net-misc/connman/files/connman-1.31-xtables.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'net-misc/connman') diff --git a/net-misc/connman/files/connman-1.31-xtables.patch b/net-misc/connman/files/connman-1.31-xtables.patch index 5fdb6489cef0..84f4445e8da1 100644 --- a/net-misc/connman/files/connman-1.31-xtables.patch +++ b/net-misc/connman/files/connman-1.31-xtables.patch @@ -30,12 +30,13 @@ #define CHAIN_PREFIX "connman-" --- /dev/null 2016-03-18 06:21:16.372989086 -0700 +++ connman-1.31/include/connman_xtables.h 2016-03-22 21:32:21.349504786 -0700 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,21 @@ +#ifndef CONNMAN_XTABLES_H +#define CONNMAN_XTABLES_H + +#include -+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0) ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0) || \ ++ LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0) +#include +#else +#ifdef __USE_MISC -- cgit v1.2.3-65-gdbad