build/skel/mail/mutt-2.3.2.do | 1 + build/skel/mail/mutt-forced-text-base64.patch | 31 +++++++++++++++++++++++++++++++ diff --git a/build/skel/mail/mutt-2.3.2.do b/build/skel/mail/mutt-2.3.2.do index ea7f90d723838189507ec42af5255dd97b760fa706d1705935cbfcfde2699395..2bd109b7bdbd10a4af819191b5c9e2767008d02f4df0217b11ead62b05b0e3c5 100644 --- a/build/skel/mail/mutt-2.3.2.do +++ b/build/skel/mail/mutt-2.3.2.do @@ -24,6 +24,7 @@ ./configure --prefix="$SKELBINS"/$ARCH/$NAME-$hsh \ --enable-pop --enable-imap --enable-smtp \ --with-gnutls --with-sasl --with-idn --enable-gpgme \ --with-domain=$(hostname) --with-homespool >&2 +patch <"$BASS_ROOT"/build/skel/mail/mutt-forced-text-base64.patch >&2 make -j$MAKE_JOBS >&2 make install >&2 diff --git a/build/skel/mail/mutt-forced-text-base64.patch b/build/skel/mail/mutt-forced-text-base64.patch new file mode 100644 index 0000000000000000000000000000000000000000..44b9ea5db06667e501a9a46e76cc4e8815212233d1006940458ec232e3d9490b --- /dev/null +++ b/build/skel/mail/mutt-forced-text-base64.patch @@ -0,0 +1,31 @@ +--- a/sendlib.c 2026-05-27 21:41:31.320146000 +0300 ++++ b/sendlib.c 2026-05-27 23:14:39.653723000 +0300 +@@ -1216,7 +1216,7 @@ + + mutt_update_encoding (a); + if (a->encoding == ENC8BIT) +- a->encoding = ENCQUOTEDPRINTABLE; ++ a->encoding = ENCBASE64; + else if (a->encoding == ENCBINARY) + a->encoding = ENCBASE64; + } +@@ -1234,7 +1234,7 @@ + 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; ++ b->encoding = option (OPTALLOW8BIT) ? ENC8BIT : ENCBASE64; + else + b->encoding = ENC7BIT; + } +--- a/crypt.c 2026-04-26 05:42:08.000000000 +0300 ++++ b/crypt.c 2026-05-27 23:18:54.790064000 +0300 +@@ -769,7 +769,7 @@ + mutt_message_to_7bit (a, NULL); + } + else if (a->encoding == ENC8BIT) +- a->encoding = ENCQUOTEDPRINTABLE; ++ a->encoding = ENCBASE64; + else if (a->encoding == ENCBINARY) + a->encoding = ENCBASE64; + else if (a->content && a->encoding != ENCBASE64 &&