summaryrefslogtreecommitdiff
path: root/comms/mgetty+sendfax/patches/patch-am
diff options
context:
space:
mode:
Diffstat (limited to 'comms/mgetty+sendfax/patches/patch-am')
-rw-r--r--comms/mgetty+sendfax/patches/patch-am14
1 files changed, 14 insertions, 0 deletions
diff --git a/comms/mgetty+sendfax/patches/patch-am b/comms/mgetty+sendfax/patches/patch-am
new file mode 100644
index 00000000000..1a97c9e97c2
--- /dev/null
+++ b/comms/mgetty+sendfax/patches/patch-am
@@ -0,0 +1,14 @@
+$NetBSD: patch-am,v 1.1 2003/02/26 21:45:46 fredb Exp $
+
+--- mgetty.c.orig 2002-12-05 05:54:03.000000000 -0600
++++ mgetty.c
+@@ -512,7 +512,8 @@
+
+ rmlocks();
+
+-#if ( defined(linux) && defined(NO_SYSVINIT) ) || defined(sysV68)
++#if ( defined(linux) && defined(NO_SYSVINIT) ) || defined(sysV68) \
++ || defined(NETBSD_UTMPX)
+ /* on linux, "simple init" does not make a wtmp entry when you
+ * log so we have to do it here (otherwise, "who" won't work) */
+ make_utmp_wtmp( Device, UT_INIT, "uugetty", NULL );