diff options
author | green <green@FreeBSD.org> | 2000-01-14 15:07:18 +0800 |
---|---|---|
committer | green <green@FreeBSD.org> | 2000-01-14 15:07:18 +0800 |
commit | 85e193bc6fdf5a65ac253ac22ed85fd403782312 (patch) | |
tree | f00e244d15aa6f95eb80351675b56ab1c1ca9e72 /security/openssh | |
parent | 28b1393e41a0f1158f1d4f3c387ed1400820feff (diff) | |
download | freebsd-ports-gnome-85e193bc6fdf5a65ac253ac22ed85fd403782312.tar.gz freebsd-ports-gnome-85e193bc6fdf5a65ac253ac22ed85fd403782312.tar.zst freebsd-ports-gnome-85e193bc6fdf5a65ac253ac22ed85fd403782312.zip |
Add the actual change of names in sockaddr_storage. This broke things
for people after what time my system was previously made. Sorry.
Submitted by: sumikawa
Diffstat (limited to 'security/openssh')
-rw-r--r-- | security/openssh/files/patch-ac | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/security/openssh/files/patch-ac b/security/openssh/files/patch-ac index 42a204e9484f..bb591d70c5ff 100644 --- a/security/openssh/files/patch-ac +++ b/security/openssh/files/patch-ac @@ -1,5 +1,5 @@ ---- /usr/ports/distfiles/OpenSSH-1.2.1/src/usr.bin/ssh/includes.h Sun Nov 28 16:37:35 1999 -+++ includes.h Thu Jan 13 18:03:48 2000 +--- includes.h.orig Fri Jan 14 20:15:50 2000 ++++ includes.h Fri Jan 14 20:20:05 2000 @@ -24,12 +24,12 @@ #include <sys/select.h> #include <sys/param.h> @@ -22,7 +22,7 @@ #include <stdio.h> #include <ctype.h> #include <errno.h> -@@ -65,5 +64,33 @@ +@@ -65,5 +64,30 @@ * client program. Socketpairs do not seem to work on all systems. */ #define USE_PIPES 1 @@ -44,15 +44,12 @@ + _SS_PAD1SIZE - _SS_ALIGNSIZE) + +struct sockaddr_storage { -+ u_char __ss_len; /* address length */ -+ sa_family_t __ss_family; /* address family */ ++ u_char ss_len; /* address length */ ++ sa_family_t ss_family; /* address family */ + char __ss_pad1[_SS_PAD1SIZE]; + int64_t __ss_align; /* force desired structure storage alignment */ + char __ss_pad2[_SS_PAD2SIZE]; +}; -+#else -+#define ss_len __ss_len -+#define ss_family __ss_family +#endif #endif /* INCLUDES_H */ |