From 289bc496ffec870156dca060838cb3666b09fc6c Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 12 May 2024 20:44:01 -0700 Subject: [PATCH] screen: fix compilation with GCC 14 Missing header. Signed-off-by: Rosen Penev --- utils/screen/Makefile | 2 +- utils/screen/patches/010-ptyh.patch | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 utils/screen/patches/010-ptyh.patch diff --git a/utils/screen/Makefile b/utils/screen/Makefile index d28b69fa7..6b6d27f5d 100644 --- a/utils/screen/Makefile +++ b/utils/screen/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=screen PKG_VERSION:=4.9.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@GNU/screen diff --git a/utils/screen/patches/010-ptyh.patch b/utils/screen/patches/010-ptyh.patch new file mode 100644 index 000000000..aad3580c1 --- /dev/null +++ b/utils/screen/patches/010-ptyh.patch @@ -0,0 +1,10 @@ +--- a/pty.c ++++ b/pty.c +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + + #if defined(__OpenBSD__) + #include /* for openpty() */