commit: cddb2e7adf9533361ead8ad238319b15a4133764 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Mar 15 07:32:30 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Mar 15 22:52:36 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cddb2e7a
app-misc/screen: fix pty.h patch for GNU Hurd <pty.h> exists on GNU Hurd which uses glibc. Signed-off-by: Sam James <sam <AT> gentoo.org> app-misc/screen/files/screen-4.9.1-add-missing-pty.h-header.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 index 81182862989e..4e39cd947c01 100644 --- 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 @@ -10,7 +10,7 @@ not-Linux, so add guard to only apply on Linux. #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> -+#if defined(__linux__) || defined(__linux) || defined(linux) ++#if defined(__linux__) || defined(__linux) || defined(linux) || defined(__GNU__) +#include <pty.h> +#endif #include <signal.h>
