From eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 Mon Sep 17 00:00:00 2001 From: Dave Cobbley Date: Tue, 14 Aug 2018 10:05:37 -0700 Subject: [Subtree] Removing import-layers directory As part of the move to subtrees, need to bring all the import layers content to the top level. Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f Signed-off-by: Dave Cobbley Signed-off-by: Brad Bishop --- ...0001-Fix-build-issus-surfaced-due-to-musl.patch | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 poky/meta/recipes-extended/minicom/minicom/0001-Fix-build-issus-surfaced-due-to-musl.patch (limited to 'poky/meta/recipes-extended/minicom/minicom/0001-Fix-build-issus-surfaced-due-to-musl.patch') diff --git a/poky/meta/recipes-extended/minicom/minicom/0001-Fix-build-issus-surfaced-due-to-musl.patch b/poky/meta/recipes-extended/minicom/minicom/0001-Fix-build-issus-surfaced-due-to-musl.patch new file mode 100644 index 000000000..fec67fdd3 --- /dev/null +++ b/poky/meta/recipes-extended/minicom/minicom/0001-Fix-build-issus-surfaced-due-to-musl.patch @@ -0,0 +1,47 @@ +From d62a5862e26ed3fc58d789efe9c40ca6c911d36b Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 31 Aug 2015 22:35:31 +0000 +Subject: [PATCH] Fix build issus surfaced due to musl + +src/getsdir.h:28:14: error: 'MAXNAMLEN' undeclared here (not in a function) + char fname[MAXNAMLEN + 1]; /* filename + terminating null */ + +src/dial.c:352:22: error: 'KIOCSOUND' undeclared (first use in this function) +| ioctl(consolefd, KIOCSOUND, k); + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + src/dial.c | 2 +- + src/getsdir.c | 1 + + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/dial.c b/src/dial.c +index a90c1d2..bf02574 100644 +--- a/src/dial.c ++++ b/src/dial.c +@@ -39,7 +39,7 @@ + #include "intl.h" + + #ifdef VC_MUSIC +-# if defined(__GLIBC__) ++# if defined(__GLIBC__) || defined(__linux__) + # include + # include + # include +diff --git a/src/getsdir.c b/src/getsdir.c +index 2195b27..b61a361 100644 +--- a/src/getsdir.c ++++ b/src/getsdir.c +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + #include + + #include "getsdir.h" +-- +2.5.1 + -- cgit v1.2.1