app-misc/screen: Fix wrong patch file path

Bug: https://bugs.gentoo.org/953896
Fixes: df2788666f
Signed-off-by: Sungjoon Moon <sumoon@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@gentoo.org>
This commit is contained in:
Sungjoon Moon
2025-05-16 01:17:58 +09:00
committed by Sam James
parent bca91adfa5
commit 3f2741bd3d
2 changed files with 11 additions and 0 deletions

View File

@@ -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__)

View File

@@ -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() {