summaryrefslogtreecommitdiff
path: root/comms/mgetty+sendfax
diff options
context:
space:
mode:
authortron <tron>1998-11-16 02:36:22 +0000
committertron <tron>1998-11-16 02:36:22 +0000
commit020149d7bd1483f26116f27b86fbc23a22118b85 (patch)
tree886957362dd3b26c48f64510214cde00eed18aa3 /comms/mgetty+sendfax
parent19d8c31bc15ffed64136ae6c091a27f90b479958 (diff)
downloadpkgsrc-020149d7bd1483f26116f27b86fbc23a22118b85.tar.gz
Use FreeBSD utmp handling.
Diffstat (limited to 'comms/mgetty+sendfax')
-rw-r--r--comms/mgetty+sendfax/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/mgetty+sendfax/patches/patch-af b/comms/mgetty+sendfax/patches/patch-af
new file mode 100644
index 00000000000..a1c50cbef44
--- /dev/null
+++ b/comms/mgetty+sendfax/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 1998/11/16 02:36:22 tron Exp $
+
+--- utmp.c.orig Wed May 28 01:44:00 1997
++++ utmp.c Mon Nov 16 03:08:49 1998
+@@ -58,7 +58,7 @@
+ * [NB: If we wanted to set UT_INIT, it would have to be an entry with
+ * empty ut_name and ut_host]
+ */
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ struct utmp utmp;
+ extern void login _PROTO(( struct utmp * utmp ));
+