diff options
author | nectar <nectar@FreeBSD.org> | 2001-08-16 10:00:28 +0800 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2001-08-16 10:00:28 +0800 |
commit | fdf16d4254bc1ed26dc86a14a38485939e091ff7 (patch) | |
tree | 8a80c9902bc47a04b8b334eb4b608275b6e1161c /security/srp | |
parent | bb79ece14967fe43fcc5adf4d00c1955bb6ad67e (diff) | |
download | freebsd-ports-gnome-fdf16d4254bc1ed26dc86a14a38485939e091ff7.tar.gz freebsd-ports-gnome-fdf16d4254bc1ed26dc86a14a38485939e091ff7.tar.zst freebsd-ports-gnome-fdf16d4254bc1ed26dc86a14a38485939e091ff7.zip |
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.
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 () + { |