re-enable autosieve option.

PR:		162185
Submitted by:	enzi.sergio
This commit is contained in:
Hajimu UMEMOTO 2015-10-17 07:33:11 +00:00
parent 95c71f729e
commit 17ecd5a3e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399529
2 changed files with 13 additions and 2 deletions

View file

@ -2,7 +2,7 @@
PORTNAME= cyrus-imapd
PORTVERSION= 2.4.18
#PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.cyrusimap.org/cyrus-imapd/ \
http://cyrusimap.org/releases/
@ -111,7 +111,7 @@ AUTOCREATE_PATCHFILES= ${PORTNAME}-2.4.4-autocreate-${AUTOCREATE_VERSION}.patch:
AUTOSIEVE_VERSION= 0.6.0
AUTOSIEVE_PATCH_SITES= LOCAL/mm:autosieve
AUTOSIEVE_PATCHFILES= ${PORTNAME}-2.4.12-autosieve-${AUTOSIEVE_VERSION}.patch:-p1:autosieve
AUTOSIEVE_BROKEN= Not buildable with autosieve patch
AUTOSIEVE_EXTRA_PATCHES=${FILESDIR}/extra-patch-imap__lmtp_sieve.c
DRAC_EXTRA_PATCHES= ${FILESDIR}/extra-patch-cmulocal::sasl2.m4
DRAC_USE= AUTOTOOLS=autoconf,autoheader

View file

@ -0,0 +1,11 @@
--- imap/lmtp_sieve.c.orig 2015-10-17 06:54:40 UTC
+++ imap/lmtp_sieve.c
@@ -511,7 +511,7 @@ static int sieve_fileinto(void *ac,
/* Try to deliver the mail again. */
if (!ret)
ret = deliver_mailbox(md->f, mdata->content, mdata->stage, md->size,
- fc->imapflags->flag, fc->imapflags->nflags,
+ fc->imapflags,
(char *) sd->username, sd->authstate, md->id,
sd->username, mdata->notifyheader,
namebuf, md->date, quotaoverride, 0);