From: Rosen Penev Date: Thu, 16 May 2024 01:46:28 +0000 (-0700) Subject: remserial: fix compilation with GCC14 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fbef15e44c74a61d4e0bd030d2d7609961ee9a7e;p=feed%2Fpackages.git remserial: fix compilation with GCC14 Missing function declaration. Signed-off-by: Rosen Penev --- diff --git a/net/remserial/Makefile b/net/remserial/Makefile index 1bd812e25e..518f68363f 100644 --- a/net/remserial/Makefile +++ b/net/remserial/Makefile @@ -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 index 0000000000..de2aaf3ed4 --- /dev/null +++ b/net/remserial/patches/010-gcc14.patch @@ -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[]) + {