mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 17:04:32 +04:00
ostiary: fix compilation with GCC14
Wrong pointer type. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=ostiary
|
PKG_NAME:=ostiary
|
||||||
PKG_VERSION:=4.0
|
PKG_VERSION:=4.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://ingles.homeunix.net/software/ost/latest/
|
PKG_SOURCE_URL:=http://ingles.homeunix.net/software/ost/latest/
|
||||||
|
|||||||
11
net/ostiary/patches/010-gcc14.patch
Normal file
11
net/ostiary/patches/010-gcc14.patch
Normal file
@@ -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;
|
||||||
Reference in New Issue
Block a user