summaryrefslogtreecommitdiff
path: root/net/gnu-finger/files/patch-ab
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-07-10 22:33:14 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-07-10 22:33:14 +0000
commitc86362a6acaf05373c031a68e00e41450401ea22 (patch)
treefbf3876d07a1ceaab20b97c7f86fd3e42f773b02 /net/gnu-finger/files/patch-ab
parentAdd xinetd. (diff)
GNU finger.
Submitted by: MIHIRA Yoshiro <sanpei@yy.cs.keio.ac.jp>
Notes
Notes: svn path=/head/; revision=3367
Diffstat (limited to 'net/gnu-finger/files/patch-ab')
-rw-r--r--net/gnu-finger/files/patch-ab14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/gnu-finger/files/patch-ab b/net/gnu-finger/files/patch-ab
new file mode 100644
index 000000000000..6d2ea29ca424
--- /dev/null
+++ b/net/gnu-finger/files/patch-ab
@@ -0,0 +1,14 @@
+--- lib/os.c.org Sat Jul 6 14:18:18 1996
++++ lib/os.c Sat Aug 26 23:38:18 1995
+@@ -70,7 +70,11 @@
+
+ /* Where the utmp file is located. */
+ #ifndef HAVE_GETUTENT
++#ifdef __FreeBSD__
++#define UTMP_FILE "/var/run/utmp"
++#else
+ #define UTMP_FILE "/etc/utmp"
++#endif
+ #endif
+
+ /* A non-null value is the address of the utmp entry which contains the