ostiary: fix compilation with GCC14
authorRosen Penev <redacted>
Sun, 2 Jun 2024 22:41:59 +0000 (15:41 -0700)
committerRosen Penev <redacted>
Tue, 4 Jun 2024 21:14:33 +0000 (14:14 -0700)
Wrong pointer type.

Signed-off-by: Rosen Penev <redacted>
net/ostiary/Makefile
net/ostiary/patches/010-gcc14.patch [new file with mode: 0644]

index b7829fa2ae4571ea9347852891f5b170db4bcb8c..dac881073c3610332cad898aa06fef06cad3fd54 100644 (file)
@@ -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 (file)
index 0000000..287f905
--- /dev/null
@@ -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;
git clone https://git.99rst.org/PROJECT