diff options
| author | Adrian Bunk <bunk@stusta.de> | 2019-08-08 18:09:54 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-12 16:23:57 +0100 |
| commit | 0928c098ac631ffefa7fd14013716a99c9c6657b (patch) | |
| tree | 079f5c9aed44de22f575aa1c857beba12d3b08dc /meta/recipes-extended/screen | |
| parent | 2cf7d0f0b357ba842d015df0c93e0733bad11f96 (diff) | |
| download | poky-0928c098ac631ffefa7fd14013716a99c9c6657b.tar.gz | |
screen: Backport fix for an implicit function declaration
(From OE-Core rev: 6e88bcbe81d20576ff05f9e3d8f8963e92b6572a)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/screen')
| -rw-r--r-- | meta/recipes-extended/screen/screen/0001-Remove-more-compatibility-stuff.patch | 31 | ||||
| -rw-r--r-- | meta/recipes-extended/screen/screen_4.6.2.bb | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-extended/screen/screen/0001-Remove-more-compatibility-stuff.patch b/meta/recipes-extended/screen/screen/0001-Remove-more-compatibility-stuff.patch new file mode 100644 index 0000000000..1413724d07 --- /dev/null +++ b/meta/recipes-extended/screen/screen/0001-Remove-more-compatibility-stuff.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | This fixes | ||
| 2 | ../screen-4.6.2/pty.c: In function 'OpenPTY': | ||
| 3 | ../screen-4.6.2/pty.c:328:7: warning: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-function-declaration] | ||
| 4 | if (openpty(&f, &s, TtyName, NULL, NULL) != 0) | ||
| 5 | ^~~~~~~ | ||
| 6 | |||
| 7 | Signed-off-by: Amadeusz Sławiński <amade@asmblr.net> | ||
| 8 | Signed-off-by: Adrian Bunk <bunk@stusta.de> | ||
| 9 | Upstream-Status: Backport | ||
| 10 | |||
| 11 | --- | ||
| 12 | pty.c | 6 +----- | ||
| 13 | 1 file changed, 1 insertion(+), 5 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/pty.c b/pty.c | ||
| 16 | index 1c0660e..502338f 100644 | ||
| 17 | --- a/pty.c | ||
| 18 | +++ b/pty.c | ||
| 19 | @@ -47,11 +47,7 @@ | ||
| 20 | # include <sys/ttold.h> | ||
| 21 | #endif | ||
| 22 | |||
| 23 | -#ifdef ISC | ||
| 24 | -# include <sys/tty.h> | ||
| 25 | -# include <sys/sioctl.h> | ||
| 26 | -# include <sys/pty.h> | ||
| 27 | -#endif | ||
| 28 | +#include <pty.h> | ||
| 29 | |||
| 30 | #ifdef sgi | ||
| 31 | # include <sys/sysmacros.h> | ||
diff --git a/meta/recipes-extended/screen/screen_4.6.2.bb b/meta/recipes-extended/screen/screen_4.6.2.bb index 375dce949d..24ec751070 100644 --- a/meta/recipes-extended/screen/screen_4.6.2.bb +++ b/meta/recipes-extended/screen/screen_4.6.2.bb | |||
| @@ -24,6 +24,7 @@ SRC_URI = "${GNU_MIRROR}/screen/screen-${PV}.tar.gz \ | |||
| 24 | file://0002-comm.h-now-depends-on-term.h.patch \ | 24 | file://0002-comm.h-now-depends-on-term.h.patch \ |
| 25 | file://0001-fix-for-multijob-build.patch \ | 25 | file://0001-fix-for-multijob-build.patch \ |
| 26 | file://0001-configure.ac-fix-configure-failed-while-build-dir-ha.patch \ | 26 | file://0001-configure.ac-fix-configure-failed-while-build-dir-ha.patch \ |
| 27 | file://0001-Remove-more-compatibility-stuff.patch \ | ||
| 27 | " | 28 | " |
| 28 | 29 | ||
| 29 | SRC_URI[md5sum] = "a0f529d3333b128dfaa324d978ba73a8" | 30 | SRC_URI[md5sum] = "a0f529d3333b128dfaa324d978ba73a8" |
