diff options
author | ghen <ghen@pkgsrc.org> | 2012-02-23 15:20:53 +0000 |
---|---|---|
committer | ghen <ghen@pkgsrc.org> | 2012-02-23 15:20:53 +0000 |
commit | 8c1a8eb70564e446c062362cc52d9707e8d6a63f (patch) | |
tree | 20c931f4496ebe0a895d79dde3c1b6ef1748304f /mail/dovecot2 | |
parent | 8a6ba08f74dcf3a0fcfe83553b0edcb200b2a1e6 (diff) | |
download | pkgsrc-8c1a8eb70564e446c062362cc52d9707e8d6a63f.tar.gz |
Use statvfs on *BSD, reported by Christoph Bayer.
Diffstat (limited to 'mail/dovecot2')
-rw-r--r-- | mail/dovecot2/distinfo | 3 | ||||
-rw-r--r-- | mail/dovecot2/patches/patch-ak | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/mail/dovecot2/distinfo b/mail/dovecot2/distinfo index edc216ef28b..00c2068ea56 100644 --- a/mail/dovecot2/distinfo +++ b/mail/dovecot2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.15 2012/02/23 09:53:05 ghen Exp $ +$NetBSD: distinfo,v 1.16 2012/02/23 15:20:53 ghen Exp $ SHA1 (dovecot-2.1.1.tar.gz) = d7e2458fc405de1cc7070ee8b17e3a6dfb269334 RMD160 (dovecot-2.1.1.tar.gz) = 6f6204a8703c589c18b03d7218829a234b553782 @@ -9,3 +9,4 @@ SHA1 (patch-ac) = dc5db4870b14bf2424f0c957f5cf7f1a289fefe6 SHA1 (patch-ae) = 51d8cb998cc2ded8bfc767710e465b752c50e656 SHA1 (patch-af) = 6d4b339898cba762243c1ff415e0fd09e3dec750 SHA1 (patch-aj) = 9e7970d29d11c097b9588ad16611f6d0e48235c2 +SHA1 (patch-ak) = ca4edaa46472a0cb609cea4d06893c7bd1312f54 diff --git a/mail/dovecot2/patches/patch-ak b/mail/dovecot2/patches/patch-ak new file mode 100644 index 00000000000..989483b8d0b --- /dev/null +++ b/mail/dovecot2/patches/patch-ak @@ -0,0 +1,22 @@ +$NetBSD: patch-ak,v 1.1 2012/02/23 15:20:53 ghen Exp $ + +--- src/lib/mountpoint.c.orig 2012-02-12 19:58:18.000000000 +0000 ++++ src/lib/mountpoint.c +@@ -136,7 +136,7 @@ struct mountpoint_iter { + #elif defined(MOUNTPOINT_SOLARIS) || defined(MOUNTPOINT_LINUX) + FILE *f; + #elif defined(HAVE_GETMNTINFO) /* BSDs */ +- struct statfs *fs; ++ struct statvfs *fs; + int count; + #endif + struct mountpoint mnt; +@@ -286,7 +286,7 @@ const struct mountpoint *mountpoint_iter + return NULL; + #elif defined(HAVE_GETMNTINFO) /* BSDs */ + while (iter->count > 0) { +- struct statfs *fs = iter->fs; ++ struct statvfs *fs = iter->fs; + + iter->fs++; + iter->count--; |