* [Buildroot] [PATCH 1/1] package/iproute2: fix build with uclibc
@ 2020-06-18 20:53 Fabrice Fontaine
2020-06-18 21:25 ` Petr Vorel
2020-06-20 19:54 ` Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2020-06-18 20:53 UTC (permalink / raw)
To: buildroot
Fixes:
- http://autobuild.buildroot.org/results/08024dd20b174f2e22e641d200f6abd8bd2a9552
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
.../0001-devlink-update-include-files.patch | 55 +++++++++++++++++++
1 file changed, 55 insertions(+)
create mode 100644 package/iproute2/0001-devlink-update-include-files.patch
diff --git a/package/iproute2/0001-devlink-update-include-files.patch b/package/iproute2/0001-devlink-update-include-files.patch
new file mode 100644
index 0000000000..8cc6e4ec60
--- /dev/null
+++ b/package/iproute2/0001-devlink-update-include-files.patch
@@ -0,0 +1,55 @@
+From 12fafa27c7b306e6c397e858f4d5a8159500f659 Mon Sep 17 00:00:00 2001
+From: Stephen Hemminger <stephen@networkplumber.org>
+Date: Thu, 11 Jun 2020 09:46:46 -0700
+Subject: devlink: update include files
+
+Use the tool iwyu to get more complete list of includes for
+all the bits used by devlink.
+
+This should also fix build with musl libc.
+
+Fixes: c4dfddccef4e ("fix JSON output of mon command")
+Reported-off-by: Dan Robertson <dan@dlrobertson.com>
+Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
+
+[Retrieved from:
+https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=12fafa27c7b306e6c397e858f4d5a8159500f659]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ devlink/devlink.c | 9 ++++++++-
+ 1 file changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/devlink/devlink.c b/devlink/devlink.c
+index 507972c3..ce2e4676 100644
+--- a/devlink/devlink.c
++++ b/devlink/devlink.c
+@@ -19,18 +19,25 @@
+ #include <limits.h>
+ #include <errno.h>
+ #include <inttypes.h>
++#include <signal.h>
++#include <time.h>
++#include <netinet/in.h>
++#include <arpa/inet.h>
+ #include <sys/sysinfo.h>
+ #define _LINUX_SYSINFO_H /* avoid collision with musl header */
+ #include <linux/genetlink.h>
+ #include <linux/devlink.h>
++#include <linux/netlink.h>
+ #include <libmnl/libmnl.h>
+ #include <netinet/ether.h>
++#include <sys/select.h>
++#include <sys/socket.h>
+ #include <sys/types.h>
+
+ #include "SNAPSHOT.h"
+ #include "list.h"
+ #include "mnlg.h"
+-#include "json_writer.h"
++#include "json_print.h"
+ #include "utils.h"
+ #include "namespace.h"
+
+--
+cgit 1.2.3-1.el7
+
--
2.26.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] package/iproute2: fix build with uclibc
2020-06-18 20:53 [Buildroot] [PATCH 1/1] package/iproute2: fix build with uclibc Fabrice Fontaine
@ 2020-06-18 21:25 ` Petr Vorel
2020-06-19 16:32 ` Petr Vorel
2020-06-20 19:54 ` Thomas Petazzoni
1 sibling, 1 reply; 4+ messages in thread
From: Petr Vorel @ 2020-06-18 21:25 UTC (permalink / raw)
To: buildroot
Hi Fabrice,
> Fixes:
> - http://autobuild.buildroot.org/results/08024dd20b174f2e22e641d200f6abd8bd2a9552
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Thanks for the fix!
Kind regards,
Petr
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] package/iproute2: fix build with uclibc
2020-06-18 21:25 ` Petr Vorel
@ 2020-06-19 16:32 ` Petr Vorel
0 siblings, 0 replies; 4+ messages in thread
From: Petr Vorel @ 2020-06-19 16:32 UTC (permalink / raw)
To: buildroot
Hi Fabrice,
> > Fixes:
> > - http://autobuild.buildroot.org/results/08024dd20b174f2e22e641d200f6abd8bd2a9552
Also
Tested-by: Petr Vorel <petr.vorel@gmail.com>
Kind regards,
Petr
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] package/iproute2: fix build with uclibc
2020-06-18 20:53 [Buildroot] [PATCH 1/1] package/iproute2: fix build with uclibc Fabrice Fontaine
2020-06-18 21:25 ` Petr Vorel
@ 2020-06-20 19:54 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2020-06-20 19:54 UTC (permalink / raw)
To: buildroot
On Thu, 18 Jun 2020 22:53:42 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fixes:
> - http://autobuild.buildroot.org/results/08024dd20b174f2e22e641d200f6abd8bd2a9552
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> .../0001-devlink-update-include-files.patch | 55 +++++++++++++++++++
> 1 file changed, 55 insertions(+)
> create mode 100644 package/iproute2/0001-devlink-update-include-files.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-06-20 19:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-18 20:53 [Buildroot] [PATCH 1/1] package/iproute2: fix build with uclibc Fabrice Fontaine
2020-06-18 21:25 ` Petr Vorel
2020-06-19 16:32 ` Petr Vorel
2020-06-20 19:54 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox