summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-client/mutt/files')
-rw-r--r--mail-client/mutt/files/mutt-1.5.20-gpgme-1.2.0.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/mail-client/mutt/files/mutt-1.5.20-gpgme-1.2.0.patch b/mail-client/mutt/files/mutt-1.5.20-gpgme-1.2.0.patch
new file mode 100644
index 000000000000..ff3ce9f80e0a
--- /dev/null
+++ b/mail-client/mutt/files/mutt-1.5.20-gpgme-1.2.0.patch
@@ -0,0 +1,29 @@
+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 <errno.h>
+ #include <sys/wait.h>
+
++#if defined(CRYPT_BACKEND_GPGME)
++#include <gpgme.h>
++#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