summaryrefslogtreecommitdiff
path: root/sysutils/mrsync/patches/patch-ab
diff options
context:
space:
mode:
authoragc <agc>2011-12-02 05:40:00 +0000
committeragc <agc>2011-12-02 05:40:00 +0000
commit7bb7828bbf5fe4bfc4f5c7724b859ca8d5a7b909 (patch)
tree5d9d4da1c17e4f9605e42e1647ec1ca6bb791eb2 /sysutils/mrsync/patches/patch-ab
parentcf21315ce01fd9cc106a5e86fe74a83e3368c6b9 (diff)
downloadpkgsrc-7bb7828bbf5fe4bfc4f5c7724b859ca8d5a7b909.tar.gz
Initial import of mrsync version 20090219 into the Packages Collection.
mrsync is a tool to transfer files from a master to many remote machines in LAN using Unix multicast sockets. It dynamically adjusts its transfer speed to ease on the network and to leave no one behind. 4 hours for 140GB to 100 targets in 1Gbit LAN
Diffstat (limited to 'sysutils/mrsync/patches/patch-ab')
-rw-r--r--sysutils/mrsync/patches/patch-ab20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/mrsync/patches/patch-ab b/sysutils/mrsync/patches/patch-ab
new file mode 100644
index 00000000000..fdea3cb6114
--- /dev/null
+++ b/sysutils/mrsync/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1.1.1 2011/12/02 05:40:00 agc Exp $
+
+get the right prototypes
+
+--- setup_socket.c 2011/11/30 20:33:53 1.1
++++ setup_socket.c 2011/11/30 20:34:13
+@@ -36,10 +36,12 @@
+
+ */
+
+-#include <sys/socket.h>
+ #include <sys/types.h>
++#include <sys/socket.h>
++#include <sys/select.h>
+ #include <sys/un.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <stdlib.h>
+ #include <netinet/in.h> /* sockaddr_in{} and other Internet defns */
+ #include <arpa/inet.h> /* inet(3) functions */