summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-06-25 22:15:40 +0000
committerDan Theisen <djt@hxx.in>2018-06-25 22:15:40 +0000
commit7a5ee27c1a7b3daec16e6310f94341a8473b6c61 (patch)
treeac3f6dcc3e3bd461c2d60c90b58d3cc3026bdb17
parent89103259e8947d3f9da5aa03fc49f37a31293675 (diff)
downloadpackages-7a5ee27c1a7b3daec16e6310f94341a8473b6c61.tar.gz
packages-7a5ee27c1a7b3daec16e6310f94341a8473b6c61.tar.bz2
packages-7a5ee27c1a7b3daec16e6310f94341a8473b6c61.tar.xz
packages-7a5ee27c1a7b3daec16e6310f94341a8473b6c61.zip
system/iproute2: add patch; I am a noob.
-rw-r--r--system/iproute2/fix-uapi-garbage.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/system/iproute2/fix-uapi-garbage.patch b/system/iproute2/fix-uapi-garbage.patch
new file mode 100644
index 000000000..9f899ebb0
--- /dev/null
+++ b/system/iproute2/fix-uapi-garbage.patch
@@ -0,0 +1,22 @@
+--- iproute2-4.17.0/rdma/rdma.h 2018-06-08 12:11:50.000000000 -0500
++++ iproute2-4.17.0/rdma/rdma.h 2018-06-25 23:26:35.811455508 -0500
+@@ -16,15 +16,16 @@
+ #include <errno.h>
+ #include <getopt.h>
+ #include <libmnl/libmnl.h>
+-#include <rdma/rdma_netlink.h>
+-#include <rdma/rdma_user_cm.h>
+ #include <time.h>
+-#include <net/if_arp.h>
+
+ #include "list.h"
+ #include "utils.h"
+ #include "json_writer.h"
+
++#include <rdma/rdma_netlink.h>
++#include <rdma/rdma_user_cm.h>
++#include <net/if_arp.h>
++
+ #define pr_err(args...) fprintf(stderr, ##args)
+ #define pr_out(args...) fprintf(stdout, ##args)
+