screen: fix compilation with GCC 14
authorRosen Penev <rosenp@gmail.com>
Mon, 13 May 2024 03:44:01 +0000 (20:44 -0700)
committerRosen Penev <rosenp@gmail.com>
Tue, 14 May 2024 23:39:02 +0000 (16:39 -0700)
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
utils/screen/Makefile
utils/screen/patches/010-ptyh.patch [new file with mode: 0644]

index d28b69fa7d92b33d8b69fb65996aacb449e338db..6b6d27f5d5614ae379167e92923de29299b2f7c5 100644 (file)
@@ -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 (file)
index 0000000..aad3580
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/pty.c
++++ b/pty.c
+@@ -30,6 +30,7 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <signal.h>
++#include <pty.h>
+ #if defined(__OpenBSD__)
+ #include <utils.h>  /* for openpty() */