nixpkgs/pkgs/applications/networking/sync/rsync/configure.ac-fix-failing-IPv6-check.patch
Ivan Babrou df5bf2f5f0 rsync: fix missing ipv6 support (again)
The patch was removed in 21604e8d2b despite not being included
in rsync v3.3.0, which broke IPv6 on at least darwin again.
2024-06-23 10:48:56 -07:00

13 lines
359 B
Diff

diff -rup rsync-3.2.7/configure.sh rsync-3.2.7-fixed/configure.sh
--- rsync-3.2.7/configure.sh 2022-10-20 17:57:22
+++ rsync-3.2.7-fixed/configure.sh 2024-01-01 19:51:58
@@ -7706,7 +7706,7 @@ else $as_nop
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
-main()
+int main()
{
if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
exit(1);