Skip to content

Commit

Permalink
net-misc/knemo: Replaced netlinkbackend patch.
Browse files Browse the repository at this point in the history
(with the official one from upstream)

Package-Manager: portage-2.2.20.1
Signed-off-by: Lars Wendler <[email protected]>
  • Loading branch information
Lars Wendler committed Aug 19, 2015
1 parent 6d594e4 commit 82cd173
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions net-misc/knemo/files/knemo-0.7.6-netlinkbackend.patch
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 82cd173

Please sign in to comment.