open-lldp: add patch to remove pid_t error
PATCH v2 1/1 open-lldp: add patch to remove pid_t error
Added #include <sys/types.h> to fix unknown type 'pid_t' errors.
This is to fix autobuild failures:
http://autobuild.buildroot.net/results/f7e94ae1c2aa6b3f6567d1f567a66329974834e9
http://autobuild.buildroot.net/results/8a43938d9c0391a846757a54cf5f956b64470865
--- .../open-lldp/0004-fixed-unknown-type-pid_t.patch | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 package/open-lldp/0004-fixed-unknown-type-pid_t.patch
package/open-lldp/0004-fixed-unknown-type-pid_t.patch new file +41 -0
@@ -0,0 +1,41 @@ +From 41e9e6b5aa13d65480cc960a7f15f97d74d64090 Mon Sep 17 00:00:00 2001 +From: Laurent Charpentier <[email protected]> +Date: Mon, 22 Jan 2018 10:49:45 +0100 +Subject: [PATCH] fixed unknown type pid_t + +Fixed 'unknown type pid_t' gcc compile error in dcbtool_cmds.c and +lldptool_cmds.c + +Signed-off-by: Laurent Charpentier <[email protected]> +--- + dcbtool_cmds.c | 1 + + lldptool_cmds.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/dcbtool_cmds.c b/dcbtool_cmds.c +index a5cd0fe..ee5c144 100644 +--- a/dcbtool_cmds.c ++++ b/dcbtool_cmds.c +@@ -27,6 +27,7 @@ + #include <stdlib.h> + #include <stdio.h> + #include <ctype.h> ++#include <sys/types.h> + #include "clif.h" + #include "dcbtool.h" + #include "lldp_dcbx_cmds.h" +diff --git a/lldptool_cmds.c b/lldptool_cmds.c +index daef8c8..c793e34 100644 +--- a/lldptool_cmds.c ++++ b/lldptool_cmds.c +@@ -27,6 +27,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <ctype.h> ++#include <sys/types.h> + #include "clif.h" + #include "dcb_types.h" + #include "lldptool.h" +-- +2.14.3 +
Signature · 1 line
2.14.3
Thomas Petazzoni
AppliedPATCH v2 1/1 open-lldp: add patch to remove pid_t error
Hello,
Quoted 11 lines · Laurent Charpentier
Added #include <
sys/types.h> to fix unknown type 'pid_t' errors.This is to fix autobuild failures:
http://autobuild.buildroot.net/results/f7e94ae1c2aa6b3f6567d1f567a66329974834e9
http://autobuild.buildroot.net/results/8a43938d9c0391a846757a54cf5f956b64470865Signed-off-by Laurent Charpentier <[email protected]>--- .../open-lldp/0004-fixed-unknown-type-pid_t.patch | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 package/open-lldp/0004-fixed-unknown-type-pid_t.patch
Applied to master, thanks. Could you submit this patch upstream if not already done?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
Laurent Charpentier
AppliedPATCH v2 1/1 open-lldp: add patch to remove pid_t error
Hi Thomas,
I submitted this patch (and several other patches) to upstream last week.http://lists.open-lldp.org/pipermail/lldp-devel/2018-January/thread.html
Unfortunately I had no answer. I don't know whether the project is actively maintain or not. Best Regards,Laurent
From: Thomas Petazzoni <[email protected]>
To: Laurent Charpentier <[email protected]>
Cc: buildroot at buildroot.org
Sent: Tuesday, February 6, 2018 4:49 PM
Subject: Re: [Buildroot] [PATCH v2] open-lldp: add patch to remove pid_t error
Hello,
Quoted 11 lines · Laurent Charpentier
Added #include <
sys/types.h> to fix unknown type 'pid_t' errors.This is to fix autobuild failures:
http://autobuild.buildroot.net/results/f7e94ae1c2aa6b3f6567d1f567a66329974834e9
http://autobuild.buildroot.net/results/8a43938d9c0391a846757a54cf5f956b64470865Signed-off-by Laurent Charpentier <[email protected]>---
?.../open-lldp/0004-fixed-unknown-type-pid_t.patch? | 41 ++++++++++++++++++++++ ? 1 file changed, 41 insertions(+)
? create mode 100644package/open-lldp/0004-fixed-unknown-type-pid_t.patch
Applied to master, thanks. Could you submit this patch upstream if not already done?
Thanks!
Thomas
Signature · 9 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180207/c00cd9ed/attachment-0001.html>