gentoo-ebuilds/net-misc/sitecopy/files/sitecopy-0.16.6-33-c99-build-fix.patch
Brahmajit Das 8ae2d6ffcd
net-misc/sitecopy: Fix passing incompatible pointer type
And update EAPI 7 -> 8

Closes: https://bugs.gentoo.org/921255
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36582
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-05-08 18:53:58 +03:00

12 lines
304 B
Diff

Bug: https://bugs.gentoo.org/921255
--- a/src/ftp.c
+++ b/src/ftp.c
@@ -634,7 +634,7 @@ static int dtp_open_active(ftp_session *sess, const char *command)
char *a, *p;
int ret;
int listener;
- size_t alen;
+ socklen_t alen;
struct sockaddr_in addr;
ret = ftp_open(sess);