summaryrefslogtreecommitdiff
path: root/mail/dovecot2
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2015-03-15 09:19:23 +0000
committertron <tron@pkgsrc.org>2015-03-15 09:19:23 +0000
commitcf7f407bdbb2943a30f63cafac5cbc2901f606c7 (patch)
tree1f9d438915c9876ef2e3aaa6668562954dae8a1a /mail/dovecot2
parentb301a608b4ec0a2d5e215e003191bd6b45f00c6b (diff)
downloadpkgsrc-cf7f407bdbb2943a30f63cafac5cbc2901f606c7.tar.gz
Fix build under NetBSD (amd64 7.0_BETA).
Diffstat (limited to 'mail/dovecot2')
-rw-r--r--mail/dovecot2/distinfo3
-rw-r--r--mail/dovecot2/patches/patch-src_stats_mail-stats.h17
2 files changed, 19 insertions, 1 deletions
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 <sys/time.h>
++#endif
++
+ struct mail_command {
+ struct mail_command *stable_prev, *stable_next;
+ struct mail_command *session_prev, *session_next;