diff options
author | oliver <oliver@FreeBSD.org> | 2004-06-20 15:21:20 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2004-06-20 15:21:20 +0800 |
commit | df543bce3f7ee556a3baa61f772b356044ec8492 (patch) | |
tree | a45387bfc93f7e7cb5b47472a45bd95c49540d78 /mail/sqwebmail | |
parent | b7b1a37f5bb7b7e247e6d7d6c2030d558129c001 (diff) | |
download | freebsd-ports-gnome-df543bce3f7ee556a3baa61f772b356044ec8492.tar.gz freebsd-ports-gnome-df543bce3f7ee556a3baa61f772b356044ec8492.tar.zst freebsd-ports-gnome-df543bce3f7ee556a3baa61f772b356044ec8492.zip |
Fix the incorrectly calculation of maildir quotas due to missuse of
pointer to off_t (64bit) vs pointer to long (32 bit).
Bump PORTREVISION
Diffstat (limited to 'mail/sqwebmail')
-rw-r--r-- | mail/sqwebmail/Makefile | 2 | ||||
-rw-r--r-- | mail/sqwebmail/files/patch-maildir::maildirquota.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/mail/sqwebmail/Makefile b/mail/sqwebmail/Makefile index 5e8f1eb3bd16..d42095425450 100644 --- a/mail/sqwebmail/Makefile +++ b/mail/sqwebmail/Makefile @@ -7,7 +7,7 @@ PORTNAME= sqwebmail PORTVERSION= 4.0.5 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= mail www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= courier diff --git a/mail/sqwebmail/files/patch-maildir::maildirquota.c b/mail/sqwebmail/files/patch-maildir::maildirquota.c new file mode 100644 index 000000000000..a643011a8809 --- /dev/null +++ b/mail/sqwebmail/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; |