In 0.5.1 there is a bug in mutt import filter which causes crashes.

- Add files/patch-aa
- Bump PORTREVISION

PR:		63610
Submitted by:	Toni Viemero <toni.viemero@iki.fi>
This commit is contained in:
Yen-Ming Lee 2004-03-02 16:21:53 +00:00
parent 9623c63f0c
commit 975b04f044
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=102743
2 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= abook
PORTVERSION= 0.5.1
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

11
mail/abook/files/patch-aa Normal file
View File

@ -0,0 +1,11 @@
--- /tmp/abook-0.5.1/filter.c 2003-11-20 14:58:34.000000000 +0200
+++ filter.c 2004-01-22 13:47:31.000000000 +0200
@@ -646,7 +646,7 @@
}
strncpy(*alias, tmp, ptr - tmp - 1);
- *(*alias + (ptr - tmp)) = 0;
+ *(*alias + (ptr - tmp - 1)) = 0;
while(ISSPACE(*ptr))
ptr++;