remserial: fix compilation with GCC14
authorRosen Penev <rosenp@gmail.com>
Thu, 16 May 2024 01:46:28 +0000 (18:46 -0700)
committerRosen Penev <rosenp@gmail.com>
Thu, 16 May 2024 11:31:11 +0000 (04:31 -0700)
Missing function declaration.

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

index 1bd812e25e09447074436b9c71bae512fb75bd66..518f68363f42086f0019bf236cd47d5eb6a2f6c4 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=remserial
 PKG_VERSION:=1.4
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 PKG_LICENSE:=GPL-2.0-or-later
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
diff --git a/net/remserial/patches/010-gcc14.patch b/net/remserial/patches/010-gcc14.patch
new file mode 100644 (file)
index 0000000..de2aaf3
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/remserial.c
++++ b/remserial.c
+@@ -54,6 +54,7 @@ void sighandler(int sig);
+ int connect_to(struct sockaddr_in *addr);
+ void usage(char *progname);
+ void link_slave(int fd);
++void set_tty(int fd,char *settings);
+ int main(int argc, char *argv[])
+ {