diff options
author | oliver <oliver@FreeBSD.org> | 2004-06-19 21:31:46 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2004-06-19 21:31:46 +0800 |
commit | cc5389e2895ae88d0d1320f3a7d81d7a3365551c (patch) | |
tree | acb516679d11ddc29d56044bb59a0984091c3b20 /mail | |
parent | 5aec37699253aa8cd26d315fc5a9d4fcf2066ce9 (diff) | |
download | freebsd-ports-gnome-cc5389e2895ae88d0d1320f3a7d81d7a3365551c.tar.gz freebsd-ports-gnome-cc5389e2895ae88d0d1320f3a7d81d7a3365551c.tar.zst freebsd-ports-gnome-cc5389e2895ae88d0d1320f3a7d81d7a3365551c.zip |
Fix imapd's incorrectly calculation of maildir quotas due to missuse of
pointer to off_t (64bit) vs pointer to long (32 bit).
Bump PORTREVISION
PR: 68094
Submitted By: Rui Lopes <rui@ruilopes.com>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/courier-imap/Makefile | 2 | ||||
-rw-r--r-- | mail/courier-imap/files/patch-maildir::maildirquota.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile index 1b15db9de891..2d3cf51b01f6 100644 --- a/mail/courier-imap/Makefile +++ b/mail/courier-imap/Makefile @@ -7,7 +7,7 @@ PORTNAME= courier-imap PORTVERSION= 3.0.5 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} diff --git a/mail/courier-imap/files/patch-maildir::maildirquota.c b/mail/courier-imap/files/patch-maildir::maildirquota.c new file mode 100644 index 000000000000..a643011a8809 --- /dev/null +++ b/mail/courier-imap/files/patch-maildir::maildirquota.c @@ -0,0 +1,11 @@ +--- maildir/maildirquota.c.orig Fri Jun 18 23:27:53 2004 ++++ maildir/maildirquota.c Fri Jun 18 23:45:01 2004 +@@ -748,7 +748,7 @@ + char *p; + DIR *dirp; + struct dirent *de; +-off_t s; ++unsigned long s; + + if (stat(dir, &stat_buf)) return (0); /* Ignore */ + if (stat_buf.st_mtime > *dirstamp) *dirstamp=stat_buf.st_mtime; |