mirror of
https://github.com/pygos/build.git
synced 2024-11-25 04:20:41 +01:00
Bump iproute2 version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
8be2e06777
commit
69a3dc4ed5
2 changed files with 71 additions and 3 deletions
|
@ -118,11 +118,79 @@
|
||||||
#include <linux/netfilter/x_tables.h>
|
#include <linux/netfilter/x_tables.h>
|
||||||
--- a/tc/f_flower.c
|
--- a/tc/f_flower.c
|
||||||
+++ b/tc/f_flower.c
|
+++ b/tc/f_flower.c
|
||||||
@@ -15,6 +15,6 @@
|
@@ -15,6 +15,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
-#include <linux/if_arp.h>
|
-#include <linux/if_arp.h>
|
||||||
+#include <net/if_arp.h>
|
+#include <net/if_arp.h>
|
||||||
|
+#include <linux/limits.h>
|
||||||
#include <linux/if_ether.h>
|
#include <linux/if_ether.h>
|
||||||
#include <linux/ip.h>
|
#include <linux/ip.h>
|
||||||
#include <linux/tc_act/tc_vlan.h>
|
#include <linux/tc_act/tc_vlan.h>
|
||||||
|
--- a/tc/tc_util.h
|
||||||
|
+++ b/tc/tc_util.h
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
|
||||||
|
#define MAX_MSG 16384
|
||||||
|
#include <limits.h>
|
||||||
|
-#include <linux/if.h>
|
||||||
|
+#include <net/if.h>
|
||||||
|
|
||||||
|
#include <linux/pkt_sched.h>
|
||||||
|
#include <linux/pkt_cls.h>
|
||||||
|
--- a/tc/f_u32.c
|
||||||
|
+++ b/tc/f_u32.c
|
||||||
|
@@ -19,8 +19,7 @@
|
||||||
|
#include <netinet/in.h>
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
#include <string.h>
|
||||||
|
-#include <linux/if.h>
|
||||||
|
#include <linux/if_ether.h>
|
||||||
|
|
||||||
|
#include "utils.h"
|
||||||
|
|
||||||
|
--- a/tc/f_fw.c
|
||||||
|
+++ b/tc/f_fw.c
|
||||||
|
@@ -19,5 +19,4 @@
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
#include <string.h>
|
||||||
|
-#include <linux/if.h> /* IFNAMSIZ */
|
||||||
|
#include "utils.h"
|
||||||
|
#include "tc_util.h"
|
||||||
|
--- a/tc/f_basic.c
|
||||||
|
+++ b/tc/f_basic.c
|
||||||
|
@@ -18,6 +18,5 @@
|
||||||
|
#include <netinet/in.h>
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
#include <string.h>
|
||||||
|
-#include <linux/if.h>
|
||||||
|
|
||||||
|
#include "utils.h"
|
||||||
|
--- a/tc/m_ife.c
|
||||||
|
+++ b/tc/m_ife.c
|
||||||
|
@@ -19,5 +19,5 @@
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
#include <string.h>
|
||||||
|
-#include <linux/netdevice.h>
|
||||||
|
+#include <netinet/if_ether.h>
|
||||||
|
|
||||||
|
#include "rt_names.h"
|
||||||
|
--- a/tc/m_skbmod.c
|
||||||
|
+++ b/tc/m_skbmod.c
|
||||||
|
@@ -18,6 +18,6 @@
|
||||||
|
#include <netinet/in.h>
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
#include <string.h>
|
||||||
|
-#include <linux/netdevice.h>
|
||||||
|
+#include <netinet/if_ether.h>
|
||||||
|
|
||||||
|
#include "rt_names.h"
|
||||||
|
--- a/tc/f_matchall.c
|
||||||
|
+++ b/tc/f_matchall.c
|
||||||
|
@@ -18,6 +18,5 @@
|
||||||
|
#include <netinet/in.h>
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
#include <string.h>
|
||||||
|
-#include <linux/if.h>
|
||||||
|
|
||||||
|
#include "utils.h"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
VERSION="4.19.0"
|
VERSION="4.20.0"
|
||||||
SRCDIR="iproute2-${VERSION}"
|
SRCDIR="iproute2-${VERSION}"
|
||||||
TARBALL="${SRCDIR}.tar.xz"
|
TARBALL="${SRCDIR}.tar.xz"
|
||||||
URL="https://www.kernel.org/pub/linux/utils/net/iproute2/"
|
URL="https://www.kernel.org/pub/linux/utils/net/iproute2/"
|
||||||
SHA256SUM="d9ec5ca1f47d8a85416fa26e7dc1cbf5d067640eb60e90bdc1c7e5bdc6a29984"
|
SHA256SUM="c8adaa6a40f888476b23acb283cfa30c0dd55f07b5aa20663ed5ba2ef1f6fda8"
|
||||||
DEPENDS="libmnl"
|
DEPENDS="libmnl"
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
|
Loading…
Reference in a new issue