From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- .../0001-Remove-more-compatibility-stuff.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 external/poky/meta/recipes-extended/screen/screen/0001-Remove-more-compatibility-stuff.patch (limited to 'external/poky/meta/recipes-extended/screen/screen/0001-Remove-more-compatibility-stuff.patch') diff --git a/external/poky/meta/recipes-extended/screen/screen/0001-Remove-more-compatibility-stuff.patch b/external/poky/meta/recipes-extended/screen/screen/0001-Remove-more-compatibility-stuff.patch new file mode 100644 index 00000000..1413724d --- /dev/null +++ b/external/poky/meta/recipes-extended/screen/screen/0001-Remove-more-compatibility-stuff.patch @@ -0,0 +1,31 @@ +This fixes +../screen-4.6.2/pty.c: In function 'OpenPTY': +../screen-4.6.2/pty.c:328:7: warning: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-function-declaration] + if (openpty(&f, &s, TtyName, NULL, NULL) != 0) + ^~~~~~~ + +Signed-off-by: Amadeusz Sławiński +Signed-off-by: Adrian Bunk +Upstream-Status: Backport + +--- + pty.c | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/pty.c b/pty.c +index 1c0660e..502338f 100644 +--- a/pty.c ++++ b/pty.c +@@ -47,11 +47,7 @@ + # include + #endif + +-#ifdef ISC +-# include +-# include +-# include +-#endif ++#include + + #ifdef sgi + # include -- cgit 1.2.3-korg