diff options
Diffstat (limited to 'security/putty/patches/patch-ad')
-rw-r--r-- | security/putty/patches/patch-ad | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/security/putty/patches/patch-ad b/security/putty/patches/patch-ad deleted file mode 100644 index 86fc24f932b..00000000000 --- a/security/putty/patches/patch-ad +++ /dev/null @@ -1,33 +0,0 @@ -$NetBSD: patch-ad,v 1.3 2011/12/10 20:50:51 cheusov Exp $ - ---- unix/uxnet.c.orig 2006-12-09 15:44:31.000000000 +0000 -+++ unix/uxnet.c -@@ -17,6 +17,15 @@ - #include <netdb.h> - #include <sys/un.h> - -+/* This is a hack for solaris, it keeps SIOCATMARK here. */ -+#ifndef SIOCATMARK -+#include <sys/sockio.h> -+#endif -+/* For Unix flavors that don't define INADDR_NONE */ -+#ifndef INADDR_NONE -+#define INADDR_NONE 0xffffffff -+#endif -+ - #define DEFINE_PLUG_METHOD_MACROS - #include "putty.h" - #include "network.h" -@@ -448,10 +457,10 @@ static int try_connect(Actual_Socket soc - #endif - struct sockaddr_in a; - struct sockaddr_un au; -- const struct sockaddr *sa; -+ const struct sockaddr *sa = NULL; - int err = 0; - short localport; -- int fl, salen; -+ int fl, salen = 0; - - if (sock->s >= 0) - close(sock->s); |