From 1e1fe45c0240eab61febccc036d0cfbb0a0b269b Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 2 Jun 2024 15:41:59 -0700 Subject: [PATCH] ostiary: fix compilation with GCC14 Wrong pointer type. Signed-off-by: Rosen Penev --- net/ostiary/Makefile | 2 +- net/ostiary/patches/010-gcc14.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 net/ostiary/patches/010-gcc14.patch diff --git a/net/ostiary/Makefile b/net/ostiary/Makefile index b7829fa2ae..dac881073c 100644 --- a/net/ostiary/Makefile +++ b/net/ostiary/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ostiary PKG_VERSION:=4.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://ingles.homeunix.net/software/ost/latest/ diff --git a/net/ostiary/patches/010-gcc14.patch b/net/ostiary/patches/010-gcc14.patch new file mode 100644 index 0000000000..287f905570 --- /dev/null +++ b/net/ostiary/patches/010-gcc14.patch @@ -0,0 +1,11 @@ +--- a/ost_main.c ++++ b/ost_main.c +@@ -788,7 +788,7 @@ void Hup_Handler(int sig) + int main(int argc, char *argv[]) + { + int i, listen_sock, clnt_sock, success; +- size_t struct_len; ++ socklen_t struct_len; + char hash_out_buf[HASH_TEXT_SIZE]; /* for debug output */ + #if HAVE_SIGACTION + struct sigaction sigact; -- 2.30.2