mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
since gtk20 requires everything nice encoded into utf-8, mime encoded
messages should be also converted into utf-8 format. That fixes the problem I had with wiped out lines containing non-7bit-clean chars. (like german umlauts) Bump PORTREVISION sylpheed-gtk2 authors are informed...
This commit is contained in:
parent
bd4066ee45
commit
d7e7582683
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119914
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= sylpheed-gtk2
|
||||
PORTVERSION= 0.9.12.20040918
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= mail ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
22
mail/sylpheed-gtk2/files/patch-encoding
Normal file
22
mail/sylpheed-gtk2/files/patch-encoding
Normal file
@ -0,0 +1,22 @@
|
||||
--- src/procmime.c.orig Thu Oct 21 17:25:19 2004
|
||||
+++ src/procmime.c Thu Oct 21 18:12:24 2004
|
||||
@@ -694,7 +694,7 @@
|
||||
if (mimeinfo->mime_type == MIME_TEXT) {
|
||||
while (fgets(buf, sizeof(buf), tmpfp) != NULL) {
|
||||
#warning FIXME_GTK2
|
||||
- str = conv_codeset_strdup(buf, src_codeset, NULL);
|
||||
+ str = conv_codeset_strdup(buf, src_codeset, CS_UTF_8);
|
||||
if (str) {
|
||||
fputs(str, outfp);
|
||||
g_free(str);
|
||||
--- src/unmime.c.orig Thu Oct 21 17:25:20 2004
|
||||
+++ src/unmime.c Thu Oct 21 17:37:45 2004
|
||||
@@ -113,7 +113,7 @@
|
||||
}
|
||||
|
||||
/* convert to locale encoding */
|
||||
- conv_str = conv_codeset_strdup(decoded_text, charset, NULL);
|
||||
+ conv_str = conv_codeset_strdup(decoded_text, charset, CS_UTF_8);
|
||||
if (conv_str) {
|
||||
len = strlen(conv_str);
|
||||
memcpy(outp, conv_str, len);
|
Loading…
Reference in New Issue
Block a user