diff options
Diffstat (limited to 'meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-src-Replace-using-sys-errno.h-with-errno.h.patch')
| -rw-r--r-- | meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-src-Replace-using-sys-errno.h-with-errno.h.patch | 59 |
1 files changed, 59 insertions, 0 deletions
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 0000000000..ae1b265dc1 --- /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 @@ | |||
| 1 | From 46f016c4b87bb2a594df1c84e4d494bff0cbeaf9 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 5 Feb 2018 12:01:25 -0800 | ||
| 4 | Subject: [PATCH] src: Replace using sys/errno.h with errno.h | ||
| 5 | |||
| 6 | sys/errno.h is no longer the right place for this file | ||
| 7 | |||
| 8 | error: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Werror=cpp] | ||
| 9 | |||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | --- | ||
| 12 | Upstream-Status: Submitted [https://github.com/libyui/libyui-ncurses/pull/63] | ||
| 13 | src/NCAskForDirectory.cc | 2 +- | ||
| 14 | src/NCAskForFile.cc | 2 +- | ||
| 15 | src/NCFileSelection.h | 2 +- | ||
| 16 | 3 files changed, 3 insertions(+), 3 deletions(-) | ||
| 17 | |||
| 18 | diff --git a/src/NCAskForDirectory.cc b/src/NCAskForDirectory.cc | ||
| 19 | index 06ec6ac..ed1a30c 100644 | ||
| 20 | --- a/src/NCAskForDirectory.cc | ||
| 21 | +++ b/src/NCAskForDirectory.cc | ||
| 22 | @@ -39,7 +39,7 @@ | ||
| 23 | #include <sys/types.h> | ||
| 24 | #include <unistd.h> | ||
| 25 | #include <dirent.h> | ||
| 26 | -#include <sys/errno.h> | ||
| 27 | +#include <errno.h> | ||
| 28 | |||
| 29 | /* | ||
| 30 | Textdomain "ncurses" | ||
| 31 | diff --git a/src/NCAskForFile.cc b/src/NCAskForFile.cc | ||
| 32 | index 31fdb39..63a6679 100644 | ||
| 33 | --- a/src/NCAskForFile.cc | ||
| 34 | +++ b/src/NCAskForFile.cc | ||
| 35 | @@ -39,7 +39,7 @@ | ||
| 36 | #include <sys/stat.h> | ||
| 37 | #include <unistd.h> | ||
| 38 | #include <dirent.h> | ||
| 39 | -#include <sys/errno.h> | ||
| 40 | +#include <errno.h> | ||
| 41 | |||
| 42 | /* | ||
| 43 | Textdomain "ncurses" | ||
| 44 | diff --git a/src/NCFileSelection.h b/src/NCFileSelection.h | ||
| 45 | index d42311f..514d020 100644 | ||
| 46 | --- a/src/NCFileSelection.h | ||
| 47 | +++ b/src/NCFileSelection.h | ||
| 48 | @@ -38,7 +38,7 @@ | ||
| 49 | #include <sys/stat.h> | ||
| 50 | #include <unistd.h> | ||
| 51 | #include <dirent.h> | ||
| 52 | -#include <sys/errno.h> | ||
| 53 | +#include <errno.h> | ||
| 54 | |||
| 55 | |||
| 56 | struct NCFileInfo | ||
| 57 | -- | ||
| 58 | 2.16.1 | ||
| 59 | |||
