summaryrefslogtreecommitdiff
path: root/security/srp
diff options
context:
space:
mode:
Diffstat (limited to 'security/srp')
-rw-r--r--security/srp/files/patch-base::lib::utent.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/srp/files/patch-base::lib::utent.c b/security/srp/files/patch-base::lib::utent.c
new file mode 100644
index 000000000000..cd4b0dcf23e0
--- /dev/null
+++ b/security/srp/files/patch-base::lib::utent.c
@@ -0,0 +1,12 @@
+--- base/lib/utent.c.orig Wed Aug 15 20:50:34 2001
++++ base/lib/utent.c Wed Aug 15 20:54:08 2001
+@@ -47,6 +47,9 @@
+ * setutent - open or rewind the utmp file
+ */
+
++#if defined(__FreeBSD__)
++#define _UTMP_FILE _PATH_UTMP
++#endif
+ void
+ setutent ()
+ {