Fixed failing hunks.
[rsync/rsync-patches.git] / tru64.diff
index bd6d6e4..7a1455e 100644 (file)
@@ -6,29 +6,6 @@ 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
-@@ -42,6 +42,20 @@
- #include "rsync.h"
- #include "ifuncs.h"
-+/****** 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
 @@ -23,6 +23,7 @@
@@ -38,4 +15,4 @@ To use this patch, run these commands for a successful build:
 +#define _SOCKADDR_LEN
  #include <sys/un.h>
  #endif
+ #ifdef HAVE_SYS_ATTR_H