aports/testing/uucp/gcc14-socklen_t.patch

28 lines
832 B
Diff

Part of https://salsa.debian.org/alteholz/uucp/-/raw/debian/1.07-30/debian/patches/gcc14.patch
--
Index: uucp/unix/portnm.c
===================================================================
--- uucp.orig/unix/portnm.c 2024-07-28 13:35:39.584912452 +0200
+++ uucp/unix/portnm.c 2024-07-28 14:05:10.577805365 +0200
@@ -32,7 +32,7 @@
#if HAVE_TCP
{
- size_t clen;
+ socklen_t clen;
struct sockaddr s;
clen = sizeof (struct sockaddr);
Index: uucp/unix/tcp.c
===================================================================
--- uucp.orig/unix/tcp.c 2024-07-28 13:54:18.189417166 +0200
+++ uucp/unix/tcp.c 2024-07-28 16:50:28.150245787 +0200
@@ -396,7 +396,7 @@
while (! FGOT_SIGNAL ())
{
sockaddr_storage speer;
- size_t clen;
+ socklen_t clen;
int onew;
pid_t ipid;