mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
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.
This commit is contained in:
parent
898e952ce9
commit
3f20731536
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46301
12
security/srp/files/patch-base::lib::utent.c
Normal file
12
security/srp/files/patch-base::lib::utent.c
Normal file
@ -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 ()
|
||||
{
|
Loading…
Reference in New Issue
Block a user