openbsd-ports/comms/kermit/patches/patch-ac
marc d23fb20ab1 add patch to remove time_t warnings; remove
the unneeded (and deprecated) SETREUID and
SAVEDUID options from Makefile; install with
proper owner, group and modes so can access
lock directory and devices; install man in cat1,
not man1; clean up packing list
1998-03-03 21:45:42 +00:00

35 lines
776 B
Plaintext

--- ckutio.c.orig Sun Nov 24 16:20:49 1996
+++ ckutio.c Tue Mar 3 10:23:55 1998
@@ -289,7 +289,11 @@
#ifdef __NetBSD__
#define LOCK_DIR "/var/spool/lock";
#else
+#ifdef __OpenBSD__
+#define LOCK_DIR "/var/spool/lock";
+#else
#define LOCK_DIR "/var/spool/uucp";
+#endif /* __OpenBSD__ */
#endif /* __NetBSD__ */
#endif /* __FreeBSD__ */
#endif /* __386BSD__ */
@@ -7162,6 +7166,11 @@
#define ZTIMEV7
#endif /* POSIX */
+#ifdef BSD44
+ time_t secs = time( 0 );
+ *s = ctime( &secs );
+ debug(F110,"ztime: BSD44",*s,0);
+#else
#ifdef HPUX1020
/*
Prototypes are in <time.h>, included above.
@@ -7233,6 +7242,7 @@
#endif /* PROVX1 */
#endif /* ATTSV */
#endif /* HPUX1020 */
+#endif /* BSD44 */
}
/* C O N G M -- Get console terminal modes. */