1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/security/super/files/patch-06
David E. O'Brien d02eecccd2 Update to version 3.11.6.
(currently the "password=y" feature to requre a password to be entered
before running a command only works on DES passwords)
1998-11-19 09:19:19 +00:00

38 lines
764 B
Plaintext

--- localsys.h.orig Tue Apr 7 01:55:28 1998
+++ localsys.h Thu Nov 19 00:17:50 1998
@@ -13,14 +13,14 @@
* func_type funcname __P((arglist));
*/
-#include "config.h"
-
#include <stdio.h>
#include <ctype.h>
#include <fcntl.h>
#include <pwd.h>
#include <grp.h>
+#include "config.h"
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
@@ -192,7 +192,7 @@
#endif
#ifndef _SVR4_SOURCE
-#ifndef Digital_UNIX
+#if !(defined(Digital_UNIX) || (defined(BSD) && (BSD >= 199103)))
extern int gethostname __P((char *, size_t size));
#endif
#endif
@@ -254,7 +254,7 @@
#endif
/* type returned by setgrent() */
-#ifdef Digital_UNIX
+#if defined(Digital_UNIX) || (defined(BSD) && (BSD >= 199103))
typedef int SETGRENT_T;
#else
typedef void SETGRENT_T;