From 3f207315361fbd644c3ab12a2125693b5c860d4e Mon Sep 17 00:00:00 2001 From: Jacques Vidrine Date: Thu, 16 Aug 2001 02:00:28 +0000 Subject: Use _PATH_UTMP. Normally, the configure script attempts to determine the location of utmp by nosing around /var/run, /var/adm, and so on. This fails in bento's build environment, and it's not the right thing to do anyway. --- security/srp/files/patch-base::lib::utent.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 security/srp/files/patch-base::lib::utent.c (limited to 'security/srp') 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 () + { -- cgit v1.2.3