summaryrefslogtreecommitdiff
path: root/source/n/mutt/mutt.gpgme.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/mutt/mutt.gpgme.diff')
-rw-r--r--source/n/mutt/mutt.gpgme.diff34
1 files changed, 34 insertions, 0 deletions
diff --git a/source/n/mutt/mutt.gpgme.diff b/source/n/mutt/mutt.gpgme.diff
new file mode 100644
index 00000000..8f8c40a4
--- /dev/null
+++ b/source/n/mutt/mutt.gpgme.diff
@@ -0,0 +1,34 @@
+--- mutt-1.5.20/init.c.orig 2009-07-21 17:54:59 +0200
++++ mutt-1.5.20/init.c 2009-07-21 17:59:47 +0200
+@@ -37,7 +37,6 @@
+ #endif
+
+
+-
+ #include "mx.h"
+ #include "init.h"
+ #include "mailbox.h"
+@@ -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
+