aboutsummaryrefslogtreecommitdiffstats
path: root/security/srp/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/srp/files')
-rw-r--r--security/srp/files/patch-base::libmisc::utmp.c12
-rw-r--r--security/srp/files/patch-telnet::telnetd::sys_term.c12
2 files changed, 24 insertions, 0 deletions
diff --git a/security/srp/files/patch-base::libmisc::utmp.c b/security/srp/files/patch-base::libmisc::utmp.c
new file mode 100644
index 000000000000..aa3c3994ff05
--- /dev/null
+++ b/security/srp/files/patch-base::libmisc::utmp.c
@@ -0,0 +1,12 @@
+--- base/libmisc/utmp.c.orig Tue Aug 21 09:00:37 2001
++++ base/libmisc/utmp.c Tue Aug 21 09:01:33 2001
+@@ -371,6 +371,9 @@
+ int found = 0;
+ off_t pos;
+
++#if defined(__FreeBSD__)
++#define _UTMP_FILE _PATH_UTMP
++#endif
+ if ((fd = open(_UTMP_FILE, O_RDWR)) < 0)
+ return;
+
diff --git a/security/srp/files/patch-telnet::telnetd::sys_term.c b/security/srp/files/patch-telnet::telnetd::sys_term.c
new file mode 100644
index 000000000000..3c83e23f68c9
--- /dev/null
+++ b/security/srp/files/patch-telnet::telnetd::sys_term.c
@@ -0,0 +1,12 @@
+--- telnet/telnetd/sys_term.c.orig Tue Aug 21 09:02:37 2001
++++ telnet/telnetd/sys_term.c Tue Aug 21 09:03:33 2001
+@@ -111,6 +111,9 @@
+ # else
+ char wtmpf[] = "/usr/adm/wtmp";
+ # endif
++#if defined(__FreeBSD__)
++#define UTMP_FILE _PATH_UTMP
++#endif
+ # ifdef UTMP_FILE
+ char utmpf[] = UTMP_FILE;
+ # else