summaryrefslogtreecommitdiffstats
path: root/package/open-lldp/0001-vdptool-fixed-compile-error-for-getline.patch
diff options
context:
space:
mode:
authorLaurent Charpentier <laurent_pubs@yahoo.com>2018-01-16 16:01:52 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2018-01-16 23:51:58 +0100
commit6110deb8f85609ded64eae0f6242b2ebd63f081d (patch)
tree5b235c8726d91f0ea0581744c1d911778285e6ec /package/open-lldp/0001-vdptool-fixed-compile-error-for-getline.patch
parentbdab545f6309d41377a914509e58bf549fdef9c8 (diff)
downloadbuildroot-6110deb8f85609ded64eae0f6242b2ebd63f081d.tar.gz
buildroot-6110deb8f85609ded64eae0f6242b2ebd63f081d.zip
open-lldp: new package
The lldpad package comes with utilities to manage an LLDP interface with support for reading and configuring TLVs. TLVs and interfaces are individual controlled allowing flexible configuration for TX only, RX only, or TX/RX modes per TLV. http://open-lldp.org/ Signed-off-by: Laurent Charpentier <laurent_pubs@yahoo.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/open-lldp/0001-vdptool-fixed-compile-error-for-getline.patch')
-rw-r--r--package/open-lldp/0001-vdptool-fixed-compile-error-for-getline.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/open-lldp/0001-vdptool-fixed-compile-error-for-getline.patch b/package/open-lldp/0001-vdptool-fixed-compile-error-for-getline.patch
new file mode 100644
index 0000000000..c20267786e
--- /dev/null
+++ b/package/open-lldp/0001-vdptool-fixed-compile-error-for-getline.patch
@@ -0,0 +1,27 @@
+From 3c7887bb8a61a3b49a2989329c756a038023c544 Mon Sep 17 00:00:00 2001
+From: Laurent Charpentier <laurent_pubs@yahoo.com>
+Date: Fri, 12 Jan 2018 12:25:41 +0100
+Subject: [PATCH] vdptool: fixed compile error for getline()
+
+vdptool.c was generating an error: implicit declaration for the getline() function.
+
+Signed-off-by: Laurent Charpentier <laurent_pubs@yahoo.com>
+---
+ vdptool.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/vdptool.c b/vdptool.c
+index b805372..4930f6a 100644
+--- a/vdptool.c
++++ b/vdptool.c
+@@ -36,6 +36,7 @@
+ * set and query VSI profile settings.
+ */
+
++#define _GNU_SOURCE
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <unistd.h>
+--
+2.14.3
+
OpenPOWER on IntegriCloud