From cf7f407bdbb2943a30f63cafac5cbc2901f606c7 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 15 Mar 2015 09:19:23 +0000 Subject: Fix build under NetBSD (amd64 7.0_BETA). --- mail/dovecot2/distinfo | 3 ++- mail/dovecot2/patches/patch-src_stats_mail-stats.h | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 mail/dovecot2/patches/patch-src_stats_mail-stats.h (limited to 'mail/dovecot2') diff --git a/mail/dovecot2/distinfo b/mail/dovecot2/distinfo index b571188e877..5fb91acd4ab 100644 --- a/mail/dovecot2/distinfo +++ b/mail/dovecot2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.52 2015/03/14 10:52:09 adam Exp $ +$NetBSD: distinfo,v 1.53 2015/03/15 09:19:23 tron Exp $ SHA1 (dovecot-2.2.16.tar.gz) = 7b267ee939b790ee42809efebc96d6ae78a49432 RMD160 (dovecot-2.2.16.tar.gz) = 79768b2077137d255a3cfbc492de6d979e594e31 @@ -7,3 +7,4 @@ SHA1 (patch-aa) = ea185011f0c1ee3aa1ff528e61f6f356fe385666 SHA1 (patch-ab) = d637a64feec8e4eafacda149cf0193aa1b70a054 SHA1 (patch-ae) = 51d8cb998cc2ded8bfc767710e465b752c50e656 SHA1 (patch-af) = c066e94dd6593d16eec3e66f5f4d26f021918498 +SHA1 (patch-src_stats_mail-stats.h) = 90645c2aab956a0119630da4b71905db704bffda diff --git a/mail/dovecot2/patches/patch-src_stats_mail-stats.h b/mail/dovecot2/patches/patch-src_stats_mail-stats.h new file mode 100644 index 00000000000..b07b5201339 --- /dev/null +++ b/mail/dovecot2/patches/patch-src_stats_mail-stats.h @@ -0,0 +1,17 @@ +$NetBSD: patch-src_stats_mail-stats.h,v 1.1 2015/03/15 09:19:24 tron Exp $ + +Fix build under NetBSD (at least amd64 7.0_BETA). + +--- src/stats/mail-stats.h.orig 2015-03-05 15:19:20.000000000 +0000 ++++ src/stats/mail-stats.h 2015-03-15 09:13:07.000000000 +0000 +@@ -5,6 +5,10 @@ + #include "guid.h" + #include "stats.h" + ++#ifdef __NetBSD__ ++#include ++#endif ++ + struct mail_command { + struct mail_command *stable_prev, *stable_next; + struct mail_command *session_prev, *session_next; -- cgit v1.2.3