From f0f62b27d9e498f60972850b73395b65ff9846a7 Mon Sep 17 00:00:00 2001 From: Jose Alonso Cardenas Marquez Date: Thu, 7 Mar 2019 19:28:30 +0000 Subject: [PATCH] - Fix problem with latest version of gnustep-base PR: 236310 Submitted by: romain Obtained from: https://sogo.nu/bugs/view.php?id=4659 --- devel/sope3/Makefile | 2 +- .../patch-sope-mime-NGMail_NGMailAddressParser.m | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 devel/sope3/files/patch-sope-mime-NGMail_NGMailAddressParser.m diff --git a/devel/sope3/Makefile b/devel/sope3/Makefile index 59b0ff2f54ab..677f322fe79b 100644 --- a/devel/sope3/Makefile +++ b/devel/sope3/Makefile @@ -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} diff --git a/devel/sope3/files/patch-sope-mime-NGMail_NGMailAddressParser.m b/devel/sope3/files/patch-sope-mime-NGMail_NGMailAddressParser.m new file mode 100644 index 000000000000..6348bc0c673b --- /dev/null +++ b/devel/sope3/files/patch-sope-mime-NGMail_NGMailAddressParser.m @@ -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];