diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2001-08-16 02:00:28 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2001-08-16 02:00:28 +0000 |
commit | 3f207315361fbd644c3ab12a2125693b5c860d4e (patch) | |
tree | 63b3dc7e60510ecba7e31db430648da486590515 /security/srp | |
parent | Fix a bug in my patch, which caused the temporary file to be unlinked (diff) |
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.
Notes
Notes:
svn path=/head/; revision=46301
Diffstat (limited to 'security/srp')
-rw-r--r-- | security/srp/files/patch-base::lib::utent.c | 12 |
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 () + { |