From dbe51dce6e623f86227f0a56144cd075e51a1a01 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 5 Feb 2018 23:46:19 -0800 Subject: libyui-ncurses: Fix build with musl Signed-off-by: Khem Raj Signed-off-by: Armin Kuster --- ...rc-Replace-using-sys-errno.h-with-errno.h.patch | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-src-Replace-using-sys-errno.h-with-errno.h.patch (limited to 'meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-src-Replace-using-sys-errno.h-with-errno.h.patch') diff --git a/meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-src-Replace-using-sys-errno.h-with-errno.h.patch b/meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-src-Replace-using-sys-errno.h-with-errno.h.patch new file mode 100644 index 00000000000..ae1b265dc14 --- /dev/null +++ b/meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-src-Replace-using-sys-errno.h-with-errno.h.patch @@ -0,0 +1,59 @@ +From 46f016c4b87bb2a594df1c84e4d494bff0cbeaf9 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 5 Feb 2018 12:01:25 -0800 +Subject: [PATCH] src: Replace using sys/errno.h with errno.h + +sys/errno.h is no longer the right place for this file + +error: #warning redirecting incorrect #include to [-Werror=cpp] + +Signed-off-by: Khem Raj +--- +Upstream-Status: Submitted [https://github.com/libyui/libyui-ncurses/pull/63] + src/NCAskForDirectory.cc | 2 +- + src/NCAskForFile.cc | 2 +- + src/NCFileSelection.h | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/NCAskForDirectory.cc b/src/NCAskForDirectory.cc +index 06ec6ac..ed1a30c 100644 +--- a/src/NCAskForDirectory.cc ++++ b/src/NCAskForDirectory.cc +@@ -39,7 +39,7 @@ + #include + #include + #include +-#include ++#include + + /* + Textdomain "ncurses" +diff --git a/src/NCAskForFile.cc b/src/NCAskForFile.cc +index 31fdb39..63a6679 100644 +--- a/src/NCAskForFile.cc ++++ b/src/NCAskForFile.cc +@@ -39,7 +39,7 @@ + #include + #include + #include +-#include ++#include + + /* + Textdomain "ncurses" +diff --git a/src/NCFileSelection.h b/src/NCFileSelection.h +index d42311f..514d020 100644 +--- a/src/NCFileSelection.h ++++ b/src/NCFileSelection.h +@@ -38,7 +38,7 @@ + #include + #include + #include +-#include ++#include + + + struct NCFileInfo +-- +2.16.1 + -- cgit 1.2.3-korg