X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/03019e41fc3299020c8acdda06cf57a1e2c57a25..refs/heads/master:/tru64.diff diff --git a/tru64.diff b/tru64.diff index 818a8b7..a2dac69 100644 --- a/tru64.diff +++ b/tru64.diff @@ -6,36 +6,15 @@ To use this patch, run these commands for a successful build: ./configure (optional if already run) make ---- old/lib/getaddrinfo.c -+++ new/lib/getaddrinfo.c -@@ -41,6 +41,20 @@ - - #include - -+/****** Start Zoong added here */ -+ -+#define EAI_BADHINTS 12 -+#define EAI_PROTOCOL 13 -+#define EAI_MAX 14 -+ -+#define AI_PASSIVE 0x00000001 /* get address to use bind() */ -+#define AI_CANONNAME 0x00000002 /* fill ai_canonname */ -+#define AI_NUMERICHOST 0x00000004 /* prevent name resolution */ -+#define AI_MASK (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST) -+ -+/****** End Zoong added here */ -+ -+ - #if defined(__KAME__) && defined(INET6) - # define FAITH - #endif ---- old/syscall.c -+++ new/syscall.c -@@ -24,6 +24,7 @@ +based-on: a01e3b490eb36ccf9e704840e1b6683dab867550 +diff --git a/syscall.c b/syscall.c +--- a/syscall.c ++++ b/syscall.c +@@ -23,6 +23,7 @@ #include "rsync.h" #if !defined MKNOD_CREATES_SOCKETS && defined HAVE_SYS_UN_H +#define _SOCKADDR_LEN #include #endif - + #ifdef HAVE_SYS_ATTR_H