mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
- Fix utmpx on CURRENT
This commit is contained in:
parent
aa02145d88
commit
9609f95770
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248276
@ -23,6 +23,10 @@ USE_PERL5= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 900007
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-utmpx
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_SSL)
|
||||
CONFIGURE_ARGS= --without-openssl
|
||||
.else
|
||||
|
11
mail/zmailer/files/extra-utmpx
Normal file
11
mail/zmailer/files/extra-utmpx
Normal file
@ -0,0 +1,11 @@
|
||||
--- transports/mailbox/mailbox.c.orig 2010-01-21 14:29:58.000000000 +0100
|
||||
+++ transports/mailbox/mailbox.c 2010-01-21 14:30:06.000000000 +0100
|
||||
@@ -159,7 +159,7 @@
|
||||
#endif /* HAVE_SOCKET */
|
||||
|
||||
#ifdef HAVE_PROTOCOLS_RWHOD_H
|
||||
-#include <utmp.h>
|
||||
+#include <utmpx.h>
|
||||
#include <protocols/rwhod.h>
|
||||
#define RWHODIR "/var/spool/rwho"
|
||||
#define WHDRSIZE (sizeof (wd) - sizeof (wd.wd_we))
|
Loading…
Reference in New Issue
Block a user