about summary refs log tree commit diff
path: root/pkgs/applications/networking/sync/rsync/configure.ac-fix-failing-IPv6-check.patch
blob: 3305653d025ff53cb2d8a6a4897aeff5bb3522f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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);