mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
f0ca59b2b5
obsoleting a couple patches (it's the same code, though, except for additions). This also brings in KNFization of everything (please hold the cheering down :) and made me reroll all my patches. My patches have been almost entirely rewritten. The places are the same, but the code's rewritten. It fits with the style (KNF) now, and looks better. I've also added strlcat.c to the build, which, just like strlcpy.c, is necessary for compatibility with older libcs. After strlcat() snuck into the OpenSSH code recently, this would prevent OpenSSH from building on (e.g.) FreeBSD 3.2. Adding it to ssh/lib/ makes it work yet again :)
15 lines
365 B
Plaintext
15 lines
365 B
Plaintext
--- /usr/ports/distfiles/OpenSSH-1.2/src/usr.bin/ssh/login.c Tue Nov 23 18:55:14 1999
|
|
+++ ./login.c Tue Nov 23 19:35:08 1999
|
|
@@ -20,7 +20,11 @@
|
|
#include "includes.h"
|
|
RCSID("$Id: login.c,v 1.8 1999/11/23 22:25:54 markus Exp $");
|
|
|
|
+#ifdef __FreeBSD__
|
|
+#include <libutil.h>
|
|
+#else
|
|
#include <util.h>
|
|
+#endif /* __FreeBSD__ */
|
|
#include <utmp.h>
|
|
#include "ssh.h"
|
|
|