diff options
Diffstat (limited to 'mail/mutt/files/extra-patch-forcebase64-nntp')
-rw-r--r-- | mail/mutt/files/extra-patch-forcebase64-nntp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/mail/mutt/files/extra-patch-forcebase64-nntp b/mail/mutt/files/extra-patch-forcebase64-nntp deleted file mode 100644 index b4b699d845cb..000000000000 --- a/mail/mutt/files/extra-patch-forcebase64-nntp +++ /dev/null @@ -1,37 +0,0 @@ ---- init.h.orig 2017-09-10 22:12:31 UTC -+++ init.h -@@ -911,6 +911,11 @@ struct option_t MuttVars[] = { - ** message via mail. - */ - #endif -+ { "force_base64", DT_BOOL, R_NONE, OPTFORCEBASE64, 0 }, -+ /* -+ ** .pp -+ ** If you need to encode all text parts to base64, set this option. -+ */ - { "force_name", DT_BOOL, R_NONE, OPTFORCENAME, 0 }, - /* - ** .pp ---- mutt.h.orig 2017-09-10 22:12:31 UTC -+++ mutt.h -@@ -379,6 +379,7 @@ enum - OPTFCCCLEAR, - OPTFLAGSAFE, - OPTFOLLOWUPTO, -+ OPTFORCEBASE64, - OPTFORCENAME, - OPTFORWDECODE, - OPTFORWQUOTE, ---- sendlib.c.orig 2017-09-10 22:12:31 UTC -+++ sendlib.c -@@ -1180,7 +1180,9 @@ static void mutt_set_encoding (BODY *b, - if (b->type == TYPETEXT) - { - char *chsname = mutt_get_body_charset (send_charset, sizeof (send_charset), b); -- if ((info->lobin && ascii_strncasecmp (chsname, "iso-2022", 8)) || info->linemax > 990 || (info->from && option (OPTENCODEFROM))) -+ if (option (OPTFORCEBASE64)) -+ b->encoding = ENCBASE64; -+ else if ((info->lobin && ascii_strncasecmp (chsname, "iso-2022", 8)) || info->linemax > 990 || (info->from && option (OPTENCODEFROM))) - b->encoding = ENCQUOTEDPRINTABLE; - else if (info->hibin) - b->encoding = option (OPTALLOW8BIT) ? ENC8BIT : ENCQUOTEDPRINTABLE; |