aboutsummaryrefslogtreecommitdiff
path: root/security/srp
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2001-08-21 14:05:37 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2001-08-21 14:05:37 +0000
commitf5aef6a673c363d590a4a5f78510fe1ab0883feb (patch)
treea4c3e3b7df168aa80668781b24ecec8b76d5854f /security/srp
parent36ece1d5a06a221d948dbb623184ac045a76d3c2 (diff)
downloadports-f5aef6a673c363d590a4a5f78510fe1ab0883feb.tar.gz
ports-f5aef6a673c363d590a4a5f78510fe1ab0883feb.zip
Notes
Diffstat (limited to 'security/srp')
-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