- Fix problem with latest version of gnustep-base

PR:		236310
Submitted by:	romain
Obtained from:	https://sogo.nu/bugs/view.php?id=4659
This commit is contained in:
Jose Alonso Cardenas Marquez 2019-03-07 19:28:30 +00:00
parent 4bab5f77b9
commit f0f62b27d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494992
2 changed files with 13 additions and 1 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= sope3
PORTVERSION= 3.2.10
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= devel gnustep
MASTER_SITES= http://www.sogo.nu/files/downloads/SOGo/Sources/
DISTNAME= SOPE-${PORTVERSION}

View file

@ -0,0 +1,12 @@
--- sope-mime/NGMail/NGMailAddressParser.m 2019-03-07 19:04:29.174101000 +0000
+++ sope-mime/NGMail/NGMailAddressParser.m 2019-03-07 19:05:10.004206000 +0000
@@ -382,6 +382,9 @@
NSUInteger addrStart, addrEnd, commaPos;
+ if (!originalAddress)
+ return nil;
+
whitespace = [NSCharacterSet whitespaceAndNewlineCharacterSet];
addressList = [NSMutableArray arrayWithCapacity: 1];
remainder = [NSMutableString stringWithString: originalAddress];