diff options
Diffstat (limited to 'security/openssh/files/patch-ak')
-rw-r--r-- | security/openssh/files/patch-ak | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/security/openssh/files/patch-ak b/security/openssh/files/patch-ak index 7248dbab9bed..f76d52056c2e 100644 --- a/security/openssh/files/patch-ak +++ b/security/openssh/files/patch-ak @@ -1,14 +1,12 @@ ---- ./login.c.orig Sat Nov 13 16:50:45 1999 -+++ ./login.c Sat Nov 13 17:59:23 1999 -@@ -20,7 +20,11 @@ - #include "includes.h" - RCSID("$Id: login.c,v 1.7 1999/09/30 16:55:06 deraadt Exp $"); - -+#if defined(__FreeBSD__) -+#include <libutil.h> -+#else - #include <util.h> +--- /usr/ports/distfiles/OpenSSH-1.2/src/usr.bin/ssh/ssh.c Tue Nov 23 18:57:50 1999 ++++ ./ssh.c Tue Nov 23 19:28:33 1999 +@@ -123,6 +123,9 @@ + log("Using rsh. WARNING: Connection will not be encrypted."); + /* Build argument list for rsh. */ + i = 0; ++#ifndef _PATH_RSH ++#define _PATH_RSH "/usr/bin/rsh" +#endif - #include <utmp.h> - #include "ssh.h" - + args[i++] = _PATH_RSH; + /* host may have to come after user on some systems */ + args[i++] = host; |