mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
xinetd: fix musl compatibility
Pass HAVE_RLIM_T via TARGET_CPPFLAGS since configure uses that define but never actually declares it. Without doing that, `config.h` tries to declare `rlim_t` itself which leads to `config.h:126:16: error: 'long long long' is too long for GCC` with musl on at least x86_64. Also refresh patches while we're at it. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
@@ -10,7 +10,7 @@ Reviewed-By: Adam Tkac <atkac@redhat.com>
|
||||
#diff -up xinetd-2.3.14/xinetd/ident.c.orig xinetd-2.3.14/xinetd/ident.c
|
||||
--- a/xinetd/ident.c
|
||||
+++ b/xinetd/ident.c
|
||||
@@ -97,7 +98,13 @@ idresult_e log_remote_user( const struct
|
||||
@@ -97,7 +97,13 @@ idresult_e log_remote_user( const struct
|
||||
}
|
||||
|
||||
CLEAR( sin_contact );
|
||||
@@ -25,7 +25,7 @@ Reviewed-By: Adam Tkac <atkac@redhat.com>
|
||||
sin_contact = sin_remote;
|
||||
memcpy( &sin_bind, &sin_local, sizeof(sin_bind) ) ;
|
||||
local_port = 0;
|
||||
@@ -121,7 +128,13 @@ idresult_e log_remote_user( const struct
|
||||
@@ -127,7 +133,13 @@ idresult_e log_remote_user( const struct
|
||||
msg( LOG_ERR, func, "socket creation: %m" ) ;
|
||||
return( IDR_ERROR ) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user