From: Rosen Penev Date: Sun, 2 Jun 2024 22:41:59 +0000 (-0700) Subject: ostiary: fix compilation with GCC14 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=1e1fe45c0240eab61febccc036d0cfbb0a0b269b;p=openwrt-packages.git ostiary: fix compilation with GCC14 Wrong pointer type. Signed-off-by: Rosen Penev --- diff --git a/net/ostiary/Makefile b/net/ostiary/Makefile index b7829fa2a..dac881073 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 000000000..287f90557 --- /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;