1 |
commit: 00671126e1e24f23a49e13915ed6636a64f7087b |
2 |
Author: Aric Belsito <lluixhi <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Jan 30 20:58:41 2018 +0000 |
4 |
Commit: Aric Belsito <lluixhi <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Jan 30 20:58:41 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=00671126 |
7 |
|
8 |
sys-apps/iproute2: fix patch |
9 |
|
10 |
sys-apps/iproute2/files/iproute2-4.15.0-musl.patch | 55 ++++++++++++++++++++++ |
11 |
1 file changed, 55 insertions(+) |
12 |
|
13 |
diff --git a/sys-apps/iproute2/files/iproute2-4.15.0-musl.patch b/sys-apps/iproute2/files/iproute2-4.15.0-musl.patch |
14 |
index bd15130..8c4a924 100644 |
15 |
--- a/sys-apps/iproute2/files/iproute2-4.15.0-musl.patch |
16 |
+++ b/sys-apps/iproute2/files/iproute2-4.15.0-musl.patch |
17 |
@@ -177,3 +177,58 @@ diff -Naur iproute2-4.15.0.orig/tc/f_flower.c iproute2-4.15.0/tc/f_flower.c |
18 |
#include <linux/if_ether.h> |
19 |
#include <linux/ip.h> |
20 |
#include <linux/tc_act/tc_vlan.h> |
21 |
+diff -Naur iproute2-4.15.0.orig/tc/m_mirred.c iproute2-4.15.0/tc/m_mirred.c |
22 |
+--- iproute2-4.15.0.orig/tc/m_mirred.c 2018-01-30 12:22:46.377424243 -0800 |
23 |
++++ iproute2-4.15.0/tc/m_mirred.c 2018-01-30 12:57:12.620387241 -0800 |
24 |
+@@ -17,6 +17,7 @@ |
25 |
+ #include <unistd.h> |
26 |
+ #include <fcntl.h> |
27 |
+ #include <sys/socket.h> |
28 |
++#include <net/if.h> |
29 |
+ #include <netinet/in.h> |
30 |
+ #include <arpa/inet.h> |
31 |
+ #include <string.h> |
32 |
+diff -Naur iproute2-4.15.0.orig/tc/tc_class.c iproute2-4.15.0/tc/tc_class.c |
33 |
+--- iproute2-4.15.0.orig/tc/tc_class.c 2018-01-30 12:22:46.369424244 -0800 |
34 |
++++ iproute2-4.15.0/tc/tc_class.c 2018-01-30 12:54:53.420389734 -0800 |
35 |
+@@ -15,6 +15,7 @@ |
36 |
+ #include <unistd.h> |
37 |
+ #include <fcntl.h> |
38 |
+ #include <sys/socket.h> |
39 |
++#include <net/if.h> |
40 |
+ #include <netinet/in.h> |
41 |
+ #include <arpa/inet.h> |
42 |
+ #include <string.h> |
43 |
+diff -Naur iproute2-4.15.0.orig/tc/tc_filter.c iproute2-4.15.0/tc/tc_filter.c |
44 |
+--- iproute2-4.15.0.orig/tc/tc_filter.c 2018-01-30 12:22:46.368424244 -0800 |
45 |
++++ iproute2-4.15.0/tc/tc_filter.c 2018-01-30 12:56:02.186388502 -0800 |
46 |
+@@ -15,6 +15,7 @@ |
47 |
+ #include <unistd.h> |
48 |
+ #include <fcntl.h> |
49 |
+ #include <sys/socket.h> |
50 |
++#include <net/if.h> |
51 |
+ #include <netinet/in.h> |
52 |
+ #include <arpa/inet.h> |
53 |
+ #include <string.h> |
54 |
+diff -Naur iproute2-4.15.0.orig/tc/tc_qdisc.c iproute2-4.15.0/tc/tc_qdisc.c |
55 |
+--- iproute2-4.15.0.orig/tc/tc_qdisc.c 2018-01-30 12:22:46.368424244 -0800 |
56 |
++++ iproute2-4.15.0/tc/tc_qdisc.c 2018-01-30 12:53:37.801391088 -0800 |
57 |
+@@ -15,6 +15,7 @@ |
58 |
+ #include <unistd.h> |
59 |
+ #include <fcntl.h> |
60 |
+ #include <sys/socket.h> |
61 |
++#include <net/if.h> |
62 |
+ #include <netinet/in.h> |
63 |
+ #include <arpa/inet.h> |
64 |
+ #include <string.h> |
65 |
+diff -Naur iproute2-4.15.0.orig/tc/tc_util.h iproute2-4.15.0/tc/tc_util.h |
66 |
+--- iproute2-4.15.0.orig/tc/tc_util.h 2018-01-30 12:22:46.367424244 -0800 |
67 |
++++ iproute2-4.15.0/tc/tc_util.h 2018-01-30 12:51:24.463393476 -0800 |
68 |
+@@ -4,7 +4,6 @@ |
69 |
+ |
70 |
+ #define MAX_MSG 16384 |
71 |
+ #include <limits.h> |
72 |
+-#include <linux/if.h> |
73 |
+ |
74 |
+ #include <linux/pkt_sched.h> |
75 |
+ #include <linux/pkt_cls.h> |