commit: 3f2741bd3d33e268bab748153daf593dd1edc8f9 Author: Sungjoon Moon <sumoon <AT> seoulsaram <DOT> org> AuthorDate: Thu May 15 16:17:58 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri May 16 09:45:03 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f2741bd
app-misc/screen: Fix wrong patch file path Bug: https://bugs.gentoo.org/953896 Fixes: df2788666f786b7416a3a7f931b8b2bf07fe9c3d Signed-off-by: Sungjoon Moon <sumoon <AT> seoulsaram.org> Part-of: https://github.com/gentoo/gentoo/pull/42102 Closes: https://github.com/gentoo/gentoo/pull/42102 Signed-off-by: Sam James <sam <AT> gentoo.org> .../screen/files/screen-4.9.1-add-missing-pty.h-header.patch | 10 ++++++++++ app-misc/screen/screen-4.9.1-r1.ebuild | 1 + 2 files changed, 11 insertions(+) diff --git a/app-misc/screen/files/screen-4.9.1-add-missing-pty.h-header.patch b/app-misc/screen/files/screen-4.9.1-add-missing-pty.h-header.patch new file mode 100644 index 000000000000..f66d86268088 --- /dev/null +++ b/app-misc/screen/files/screen-4.9.1-add-missing-pty.h-header.patch @@ -0,0 +1,10 @@ +--- a/pty.c ++++ b/pty.c +@@ -29,6 +29,7 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> ++#include <pty.h> + #include <signal.h> + + #if defined(__OpenBSD__) diff --git a/app-misc/screen/screen-4.9.1-r1.ebuild b/app-misc/screen/screen-4.9.1-r1.ebuild index c9654d5afcb0..a67862bea377 100644 --- a/app-misc/screen/screen-4.9.1-r1.ebuild +++ b/app-misc/screen/screen-4.9.1-r1.ebuild @@ -34,6 +34,7 @@ PATCHES=( # Don't use utempter even if it is found on the system. "${FILESDIR}"/${PN}-4.3.0-no-utempter.patch "${FILESDIR}"/${PN}-4.9.1-utmp-exit.patch + "${FILESDIR}"/${PN}-4.9.1-add-missing-pty.h-header.patch ) src_prepare() {
