commit:     82cd173c2ff38b6c9ad0e1f1b8ab12a171769bb1
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 19 11:44:15 2015 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Aug 19 11:44:15 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82cd173c

net-misc/knemo: Replaced netlinkbackend patch.

(with the official one from upstream)

Package-Manager: portage-2.2.20.1
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 .../knemo/files/knemo-0.7.6-netlinkbackend.patch   | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/net-misc/knemo/files/knemo-0.7.6-netlinkbackend.patch 
b/net-misc/knemo/files/knemo-0.7.6-netlinkbackend.patch
index fb4dd3a..c9335af 100644
--- a/net-misc/knemo/files/knemo-0.7.6-netlinkbackend.patch
+++ b/net-misc/knemo/files/knemo-0.7.6-netlinkbackend.patch
@@ -1,11 +1,15 @@
---- ./src/knemod/backends/netlinkbackend.cpp   2015-08-15 14:34:54.823572917 
+0600
-+++ ./src/knemod/backends/netlinkbackend.cpp.new       2015-08-15 
14:34:15.680238396 +0600
-@@ -30,6 +30,8 @@
- #include "utils.h"
- #include "netlinkbackend.h"
+diff --git a/src/knemod/backends/netlinkbackend.cpp 
b/src/knemod/backends/netlinkbackend.cpp
+index f749e43..5a82c13 100644
+--- a/src/knemod/backends/netlinkbackend.cpp
++++ b/src/knemod/backends/netlinkbackend.cpp
+@@ -23,6 +23,10 @@
+ #include <netlink/route/link.h>
+ #include <netlink/route/route.h>
  
-+#include <linux/if.h>
++#if LIBNL_CURRENT >= 221
++#include <net/if.h>
++#endif
 +
- #ifndef IFF_LOWER_UP
- #define IFF_LOWER_UP   0x10000
- #endif
+ #include <KLocale>
+ #include <kio/global.h>
+ 

Reply via email to