diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-01-01 20:19:21 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-01-01 20:23:50 +0100 |
commit | 47bc9ccf7abfb3054d762f2d9f7b3a1cbeebe612 (patch) | |
tree | f8c437cebcf8ddcf4c34866214a5f7eab53c0205 /dev-libs/libnl/files | |
parent | app-misc/fsniper: EAPI 6 bump and ebuild cleanup. (diff) | |
download | gentoo-47bc9ccf7abfb3054d762f2d9f7b3a1cbeebe612.tar.gz gentoo-47bc9ccf7abfb3054d762f2d9f7b3a1cbeebe612.tar.bz2 gentoo-47bc9ccf7abfb3054d762f2d9f7b3a1cbeebe612.zip |
dev-libs/libnl: Fix building against older kernel headers (bug #604190 by pavel sanda).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-libs/libnl/files')
-rw-r--r-- | dev-libs/libnl/files/libnl-3.2.20-cache-api.patch | 9 | ||||
-rw-r--r-- | dev-libs/libnl/files/libnl-3.2.20-rtnl_tc_get_ops.patch | 30 | ||||
-rw-r--r-- | dev-libs/libnl/files/libnl-3.2.28-in6.patch | 12 |
3 files changed, 12 insertions, 39 deletions
diff --git a/dev-libs/libnl/files/libnl-3.2.20-cache-api.patch b/dev-libs/libnl/files/libnl-3.2.20-cache-api.patch deleted file mode 100644 index ce6e47b7cfa7..000000000000 --- a/dev-libs/libnl/files/libnl-3.2.20-cache-api.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- a/tests/test-cache-mngr.c -+++ b/tests/test-cache-mngr.c -@@ -1,5 +1,5 @@ - #include <netlink/netlink.h> --#include <netlink/cache.h> -+#include <netlink/cache-api.h> - #include <netlink/cli/utils.h> - #include <signal.h> - diff --git a/dev-libs/libnl/files/libnl-3.2.20-rtnl_tc_get_ops.patch b/dev-libs/libnl/files/libnl-3.2.20-rtnl_tc_get_ops.patch deleted file mode 100644 index 09b2f0bb8ebb..000000000000 --- a/dev-libs/libnl/files/libnl-3.2.20-rtnl_tc_get_ops.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/src/nl-class-add.c -+++ b/src/nl-class-add.c -@@ -14,6 +14,7 @@ - #include <netlink/cli/qdisc.h> - #include <netlink/cli/class.h> - #include <netlink/cli/link.h> -+#include <netlink/route/tc-api.h> /* rtnl_tc_get_ops() */ - - static int quiet = 0; - ---- a/src/nl-cls-add.c -+++ b/src/nl-cls-add.c -@@ -12,6 +12,7 @@ - #include <netlink/cli/tc.h> - #include <netlink/cli/cls.h> - #include <netlink/cli/link.h> -+#include <netlink/route/tc-api.h> /* rtnl_tc_get_ops() */ - - static int quiet = 0; - ---- a/src/nl-qdisc-add.c -+++ b/src/nl-qdisc-add.c -@@ -13,6 +13,7 @@ - #include <netlink/cli/tc.h> - #include <netlink/cli/qdisc.h> - #include <netlink/cli/link.h> -+#include <netlink/route/tc-api.h> /* rtnl_tc_get_ops() */ - - static int quiet = 0; - diff --git a/dev-libs/libnl/files/libnl-3.2.28-in6.patch b/dev-libs/libnl/files/libnl-3.2.28-in6.patch new file mode 100644 index 000000000000..5dcf6ae40ccf --- /dev/null +++ b/dev-libs/libnl/files/libnl-3.2.28-in6.patch @@ -0,0 +1,12 @@ +https://github.com/thom311/libnl/pull/121 + +--- a/include/linux-private/linux/if_bridge.h ++++ b/include/linux-private/linux/if_bridge.h +@@ -15,7 +15,6 @@ + + #include <linux/types.h> + #include <linux/if_ether.h> +-#include <linux/in6.h> + + #define SYSFS_BRIDGE_ATTR "bridge" + #define SYSFS_BRIDGE_FDB "brforward" |