summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2009-07-21 17:31:28 +0000
committerFabian Groffen <grobian@gentoo.org>2009-07-21 17:31:28 +0000
commit447309f1957ca8f9f6d680c76e6b59b7313c1188 (patch)
treea85e25bc27b95a381082da31b456b00349ad357a /mail-client/mutt/files
parentTouch access.log and error.log and chmod them to icecast:nogroup wrt #245727,... (diff)
downloadgentoo-2-447309f1957ca8f9f6d680c76e6b59b7313c1188.tar.gz
gentoo-2-447309f1957ca8f9f6d680c76e6b59b7313c1188.tar.bz2
gentoo-2-447309f1957ca8f9f6d680c76e6b59b7313c1188.zip
Fix bug #278394, allow mutt to run correctly with gpgme-1.2.0
(Portage version: 2.2.00.13830-prefix/cvs/Darwin powerpc)
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