pkgsrc/security/openssh/patches/patch-ac
christos bc7de9ae5c New openssh package [needs some cleanup]
- it is not enabled by default (need to think what to do with the ssh conflict)
- only tested under 1.4.1 so far
2000-01-17 05:34:32 +00:00

23 lines
587 B
Text

$NetBSD: patch-ac,v 1.1 2000/01/17 05:34:34 christos Exp $
--- fake-getaddrinfo.h.orig Thu Jan 13 23:45:49 2000
+++ fake-getaddrinfo.h Sun Jan 16 23:49:53 2000
@@ -5,6 +5,9 @@
#include "fake-gai-errnos.h"
+#ifndef AI_CANONNAME
+# define AI_CANONNAME 0
+#endif
#ifndef AI_PASSIVE
# define AI_PASSIVE 1
#endif
@@ -25,7 +28,7 @@
char *ai_canonname; /* canonical name for hostname */
struct sockaddr *ai_addr; /* binary address */
struct addrinfo *ai_next; /* next structure in linked list */
-}
+};
#endif /* !HAVE_STRUCT_ADDRINFO */
#ifndef HAVE_GETADDRINFO