diff options
author | Jonathan Richardson <jonathan.richardson@broadcom.com> | 2020-02-26 16:32:40 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-02-27 08:25:49 -0800 |
commit | 4fc18c9d7b61691ff69ff1ca62d9a7f17ea87fce (patch) | |
tree | 62cfdae9e0d54afe27774c010178cd461a1580db /meta-networking/recipes-protocols/openlldp/files/0001-Fix-musl-libc-build-issue.patch | |
parent | d664461dfa323004ab98342c62ca2d38ccab2ecb (diff) | |
download | meta-openembedded-4fc18c9d7b61691ff69ff1ca62d9a7f17ea87fce.tar.gz |
open-lldp: Add initial version 1.0.1
Open-LLDP provides a Link Layer Discovery Protocol agent that supports
DCB (Data Center Bridging). The tc utility from iproute is needed to
manipulate traffic control settings in the kernel.
Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols/openlldp/files/0001-Fix-musl-libc-build-issue.patch')
-rw-r--r-- | meta-networking/recipes-protocols/openlldp/files/0001-Fix-musl-libc-build-issue.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/openlldp/files/0001-Fix-musl-libc-build-issue.patch b/meta-networking/recipes-protocols/openlldp/files/0001-Fix-musl-libc-build-issue.patch new file mode 100644 index 0000000000..40b082e77a --- /dev/null +++ b/meta-networking/recipes-protocols/openlldp/files/0001-Fix-musl-libc-build-issue.patch @@ -0,0 +1,26 @@ +From a64e52f9b58519aa2b8a1073fa6c04da04933428 Mon Sep 17 00:00:00 2001 +From: Jonathan Richardson <jonathan.richardson@broadcom.com> +Date: Wed, 26 Feb 2020 12:16:38 -0800 +Subject: [PATCH] Fix musl libc build issue + +clif.h should include sys/types.h for the definition of pid_t. It fails +to compile when using musl libc. + +Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com> + +--- + include/clif.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/clif.h b/include/clif.h +index 648eedf..92f4fd8 100644 +--- a/include/clif.h ++++ b/include/clif.h +@@ -32,6 +32,7 @@ + #ifndef CLIF_H + #define CLIF_H + ++#include <sys/types.h> + #include <sys/un.h> + #include "clif_sock.h" + |