Index: branches/2017Q4/mail/procmail/Makefile =================================================================== --- branches/2017Q4/mail/procmail/Makefile (revision 456120) +++ branches/2017Q4/mail/procmail/Makefile (revision 456121) @@ -1,42 +1,42 @@ # Created by: Adam David # $FreeBSD$ PORTNAME= procmail PORTVERSION= 3.22 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= mail MASTER_SITES= ftp://ftp.ucsb.edu/pub/mirrors/procmail/ \ ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/ \ ftp://ftp.fu-berlin.de/pub/unix/mail/procmail/ \ ftp://ftp.kfki.hu/pub/packages/mail/procmail/ \ http://www.ring.gr.jp/archives/net/mail/procmail/ \ ftp://ftp.ring.gr.jp/pub/net/mail/procmail/ \ ftp://ftp.mirrorservice.org/sites/ftp.procmail.org/pub/procmail/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Local mail delivery agent LICENSE= GPLv2 OPTIONS_DEFINE= DOCS EXAMPLES INSTALL_TARGET= install.bin install.man USES= cpe EXTRA_PATCHES= ${FILESDIR}/procmail-3.22-getline.patch:-p1 PORTDOCS= FAQ FEATURES HISTORY KNOWN_BUGS README PORTEXAMPLES= 1procmailrc 1rmail 2procmailrc 2rmail 3procmailrc 3rmail \ advanced dirname forward local_procmail_lmtp.m4 mailstat post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/config.h ${WRKSRC}/src/autoconf # Allow parallel builds (-jX) to work @${FIND} ${WRKSRC} -name 'Makefile*' | ${XARGS} ${REINPLACE_CMD} -E 's|cd (.+); (\$$\(MAKE\))|\2 -C \1|' post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${STAGEDIR}${EXAMPLESDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/examples/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/ .include Index: branches/2017Q4/mail/procmail/files/patch-src-formisc.c =================================================================== --- branches/2017Q4/mail/procmail/files/patch-src-formisc.c (revision 456120) +++ branches/2017Q4/mail/procmail/files/patch-src-formisc.c (revision 456121) @@ -1,16 +1,25 @@ --- src/formisc.c.orig 2001-06-29 10:20:45.000000000 +0800 +++ src/formisc.c 2014-09-12 00:58:12.989105253 +0800 @@ -84,12 +84,11 @@ case '"':*target++=delim='"';start++; } ;{ int i; - do + while(*start) if((i= *target++= *start++)==delim) /* corresponding delimiter? */ break; else if(i=='\\'&&*start) /* skip quoted character */ *target++= *start++; - while(*start); /* anything? */ } hitspc=2; } +@@ -104,7 +103,7 @@ + } + /* append to buf */ + void loadbuf(text,len)const char*const text;const size_t len; +-{ if(buffilled+len>buflen) /* buf can't hold the text */ ++{ while(buffilled+len>buflen) /* buf can't hold the text */ + buf=realloc(buf,buflen+=Bsize); + tmemmove(buf+buffilled,text,len);buffilled+=len; + } Index: branches/2017Q4 =================================================================== --- branches/2017Q4 (revision 456120) +++ branches/2017Q4 (revision 456121) Property changes on: branches/2017Q4 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r455800