1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

devel/sope2: Fix build with GNUstep 1.29.0

Import patch from Debian to fix build

Source: https://sources.debian.org/data/main/s/sope/5.8.4-1/debian/patches/base-1.29.patch

PR:		273213
Reported by:	jbeich
Approved by:	portmgr (blanket)
This commit is contained in:
Daniel Engberg 2023-08-29 20:15:53 +02:00
parent 5f1796254f
commit 7909904fbe

View File

@ -0,0 +1,18 @@
--- sope-mime/NGMime/NGMimeType.m.orig 2023-06-20 10:08:44 UTC
+++ sope-mime/NGMime/NGMimeType.m
@@ -125,13 +125,13 @@ static Class NSStringClass = Nil;
encoding = NSKoreanEUCStringEncoding;
}
else if ([charset isEqualToString:@"big5"]) {
- encoding = NSBIG5StringEncoding;
+ encoding = NSBig5StringEncoding;
}
else if ([charset isEqualToString:@"iso-2022-jp"]) {
encoding = NSISO2022JPStringEncoding;
}
else if ([charset isEqualToString:@"gb2312"]) {
- encoding = NSGB2312StringEncoding;
+ encoding = NSChineseEUCStringEncoding;
}
else if ([charset isEqualToString:@"koi8-r"]) {
encoding = NSKOI8RStringEncoding;