Updating patches.
[rsync-patches.git] / tru64.diff
index 8751b761612908aa6d202c906f76b230581622c5..8418ab8bd6ab7d2269458870add8da7856f838c8 100644 (file)
@@ -1,35 +1,20 @@
 This is an adapted version of the original by Zoong Pham.
 
---- orig/lib/getaddrinfo.c     2005-02-14 00:53:44
-+++ lib/getaddrinfo.c  2004-06-18 17:38:35
-@@ -41,6 +41,20 @@
- #include <rsync.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
---- orig/syscall.c     2005-04-07 17:04:26
-+++ syscall.c  2005-02-14 02:54:45
-@@ -27,6 +27,7 @@
+To use this patch, run these commands for a successful build:
+
+    patch -p1 <patches/tru64.diff
+    ./configure                          (optional if already run)
+    make
+
+based-on: 2ac35b45071c7bfd8be6be41bfd45326f1f57bce
+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 <sys/un.h>
  #endif
+ #ifdef HAVE_SYS_ATTR_H