diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2010-01-21 16:17:51 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2010-01-21 16:17:51 +0000 |
commit | 9609f957700c90a96c33ce55f2d7694503823b9a (patch) | |
tree | 3e95fc88e64bc8fe067d60b0d3e489be2de680e5 /mail/zmailer | |
parent | aa02145d8819b6892ff1e92a8310e94108e5f6ee (diff) |
Notes
Diffstat (limited to 'mail/zmailer')
-rw-r--r-- | mail/zmailer/Makefile | 4 | ||||
-rw-r--r-- | mail/zmailer/files/extra-utmpx | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/mail/zmailer/Makefile b/mail/zmailer/Makefile index dd10b1894c4b..34e0a3ad61ac 100644 --- a/mail/zmailer/Makefile +++ b/mail/zmailer/Makefile @@ -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 diff --git a/mail/zmailer/files/extra-utmpx b/mail/zmailer/files/extra-utmpx new file mode 100644 index 000000000000..507a304121b4 --- /dev/null +++ b/mail/zmailer/files/extra-utmpx @@ -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)) |