summaryrefslogtreecommitdiff
path: root/net/gnu-finger/files/patch-ab
diff options
context:
space:
mode:
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