* [Buildroot] [PATCH 1/1] open-lldp: add patch to remove pid_t error
@ 2018-01-22 10:30 Laurent Charpentier
2018-01-22 10:53 ` Baruch Siach
0 siblings, 1 reply; 3+ messages in thread
From: Laurent Charpentier @ 2018-01-22 10:30 UTC (permalink / raw)
To: buildroot
Added #include <sys/types.h> to fix unknown type 'pid_t' errors.
Signed-off-by: Laurent Charpentier <laurent_pubs@yahoo.com>
---
.../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
diff --git a/package/open-lldp/0004-fixed-unknown-type-pid_t.patch b/package/open-lldp/0004-fixed-unknown-type-pid_t.patch
new file mode 100644
index 0000000000..2d3b9148e0
--- /dev/null
+++ b/package/open-lldp/0004-fixed-unknown-type-pid_t.patch
@@ -0,0 +1,41 @@
+From 41e9e6b5aa13d65480cc960a7f15f97d74d64090 Mon Sep 17 00:00:00 2001
+From: Laurent Charpentier <laurent_pubs@yahoo.com>
+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 <laurent_pubs@yahoo.com>
+---
+ 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
+
--
2.14.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] open-lldp: add patch to remove pid_t error
2018-01-22 10:30 [Buildroot] [PATCH 1/1] open-lldp: add patch to remove pid_t error Laurent Charpentier
@ 2018-01-22 10:53 ` Baruch Siach
2018-01-22 12:12 ` Laurent Charpentier
0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2018-01-22 10:53 UTC (permalink / raw)
To: buildroot
Hi Laurent,
On Mon, Jan 22, 2018 at 11:30:01AM +0100, Laurent Charpentier wrote:
> Added #include <sys/types.h> to fix unknown type 'pid_t' errors.
Please add a reference to an autobuild failure like
http://autobuild.buildroot.net/results/c18/c18969411e7b2aa12e283831042d75427d2cebd9/
>
> Signed-off-by: Laurent Charpentier <laurent_pubs@yahoo.com>
> ---
> .../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
>
> diff --git a/package/open-lldp/0004-fixed-unknown-type-pid_t.patch b/package/open-lldp/0004-fixed-unknown-type-pid_t.patch
> new file mode 100644
> index 0000000000..2d3b9148e0
> --- /dev/null
> +++ b/package/open-lldp/0004-fixed-unknown-type-pid_t.patch
> @@ -0,0 +1,41 @@
> +From 41e9e6b5aa13d65480cc960a7f15f97d74d64090 Mon Sep 17 00:00:00 2001
> +From: Laurent Charpentier <laurent_pubs@yahoo.com>
> +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 <laurent_pubs@yahoo.com>
What is the upstream status of this patch?
> +---
> + 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"
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] open-lldp: add patch to remove pid_t error
2018-01-22 10:53 ` Baruch Siach
@ 2018-01-22 12:12 ` Laurent Charpentier
0 siblings, 0 replies; 3+ messages in thread
From: Laurent Charpentier @ 2018-01-22 12:12 UTC (permalink / raw)
To: buildroot
Hi Baruch,
> Please add a reference to an autobuild failure like
I've just sent an updated patch with the autobuild references.
> What is the upstream status of this patch?
Last commit on this project is 2 years old (from 2015).I will contact the project maintainers about the fix.
Best Regards,Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180122/9c8dc7a1/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-01-22 12:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-22 10:30 [Buildroot] [PATCH 1/1] open-lldp: add patch to remove pid_t error Laurent Charpentier
2018-01-22 10:53 ` Baruch Siach
2018-01-22 12:12 ` Laurent Charpentier
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.