summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2015-08-19 13:44:15 +0200
committerLars Wendler <polynomial-c@gentoo.org>2015-08-19 13:44:15 +0200
commit82cd173c2ff38b6c9ad0e1f1b8ab12a171769bb1 (patch)
treed0c9ebe1704bdd1734a1f7291eae250b4125b889 /net-misc/knemo
parentmedia-sound/ardour: Removed wrong command substitution. (diff)
downloadgentoo-82cd173c2ff38b6c9ad0e1f1b8ab12a171769bb1.tar.gz
gentoo-82cd173c2ff38b6c9ad0e1f1b8ab12a171769bb1.tar.bz2
gentoo-82cd173c2ff38b6c9ad0e1f1b8ab12a171769bb1.zip
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@gentoo.org>
Diffstat (limited to 'net-misc/knemo')
-rw-r--r--net-misc/knemo/files/knemo-0.7.6-netlinkbackend.patch22
1 files 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 fb4dd3a24521..c9335af457d2 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>
+