Index: Makefile =================================================================== RCS file: /home/pcvs/ports/mail/zmailer/Makefile,v retrieving revision 1.35 diff -u -r1.35 Makefile --- Makefile 21 Feb 2008 21:19:59 -0000 1.35 +++ Makefile 21 Jan 2010 16:12:23 -0000 @@ -23,6 +23,10 @@ .include +.if ${OSVERSION} >= 900007 +EXTRA_PATCHES= ${FILESDIR}/extra-utmpx +.endif + .if defined(WITHOUT_SSL) CONFIGURE_ARGS= --without-openssl .else Index: files/extra-utmpx =================================================================== RCS file: files/extra-utmpx diff -N files/extra-utmpx --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/extra-utmpx 21 Jan 2010 13:30:34 -0000 @@ -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 ++#include + #include + #define RWHODIR "/var/spool/rwho" + #define WHDRSIZE (sizeof (wd) - sizeof (wd.wd_we))