http://bugs.gentoo.org/show_bug.cgi?id=278394 http://dev.mutt.org/trac/ticket/3300 --- mutt-1.5.20/init.c +++ mutt-1.5.20/init.c @@ -50,6 +49,10 @@ #include #include +#if defined(CRYPT_BACKEND_GPGME) +#include +#endif + #define CHECK_PAGER \ if ((CurrentMenu == MENU_PAGER) && (idx >= 0) && \ (MuttVars[idx].flags & R_RESORT)) \ @@ -3262,6 +3265,11 @@ mutt_read_histfile (); +#ifdef CRYPT_BACKEND_GPGME + /* needed since version 1.2.0, ticket #3300 */ + gpgme_check_version (NULL); +#endif + #if 0 set_option (OPTWEED); /* turn weeding on by default */ #endif