From 0bc0337861351fca46df00c20afd51fd00750f18 Mon Sep 17 00:00:00 2001
From: Andreas Rammhold <andreas@rammhold.de>
Date: Fri, 14 Feb 2020 13:08:13 +0100
Subject: [PATCH] libmutt: fix segfault when alias lookup returns NULL
OK sthen
From upstream notes:
"Unfortunately, last week's release contained a few clumsy bugs.
Sorry about that.
With such complex code and only three developers, sometimes we miss things.
If you spot a problem with NeoMutt, please report it as soon as you can.
This release contains a couple of fixes for the IMAP behaviour.
They should make IMAP connections more reliable."
- for more details see https://github.com/neomutt/neomutt/releases/tag/20191207
if you have problems with neomutt please first check if they have been
fixed upstream (https://github.com/neomutt/neomutt, copy the full commit
id from the URL in "Latest commit", update GH_COMMIT and rebuild), if the
problem still occurs then please report upstream with as much info to
reproduce as possible.
Follow the upstream recommendations for packagers and switch to
multi-packages:
devel/gettext -> devel/gettext,-runtime
devel/gettext-tools -> devel/gettext,-tools
(new) devel/gettext,-textstyle
versions of mutt/neomutt (in response to https://gitlab.com/muttmua/mutt/issues/39)
don't work with old gpg.
(There's an alternative workaround, "unset pgp_check_gpg_decrypt_status_fd",
but this is still subject to the issue reported in the above gitlab ticket
where unencrypted messages may be reported as encrypted).
Prompted by a report from stsp@.
On powerpc, MACHINE_ARCH is "powerpc" and ARCH is "socppc" or "macppc",
the test fails and neomutt tries to use kyotocabinet, marked as BROKEN.
Fix test and use qdbm as intented. On arm, where MACHINE_ARCH is "arm" and
ARCH is "armv7", the test fails thus neomutt is already using kyotocabinet
(which builds on arm now), so remove the test. No need for a bump since
the build failed in both cases.
Reported by "gumnos", ok sthen@ (maintainer)
Note: this version renames the binary to "neomutt" (and various other files
where the name was shared with mutt) - so the packages are now de-conflicted
allowing both to be installed together. Users may wish to add a shell alias
or symlink for mutt->neomutt.
- s/mutt/neomutt in doc/examples dirs
- running autoconf here requires autopoint from gettext-tools; found by tb@
- reinstate patch-mutt_sasl_h; found by tb@ (missing prototype; removed in
error while fixing patch-mutt_sasl_c).