]> git.llucax.com Git - software/mutt-debian.git/commitdiff
upstream/548577-gpgme-1.2.patch: do not fail to open pgp signed message with libgpgme... debian/1.5.20-5
authorAntonio Radici <antonio@dyne.org>
Wed, 2 Dec 2009 22:38:59 +0000 (22:38 +0000)
committerAntonio Radici <antonio@dyne.org>
Wed, 2 Dec 2009 22:38:59 +0000 (22:38 +0000)
debian/changelog
debian/patches/series
debian/patches/upstream/548577-gpgme-1.2.patch [new file with mode: 0644]

index 1d3f90ba6c65b306cdaf7c96de788cf6163ca1bf..27ceeef6392ff107c774ca4542ca5c5f3e4c5b90 100644 (file)
@@ -7,8 +7,10 @@ mutt (1.5.20-5) unstable; urgency=low
       server sends additional headers and mutt segfaults (Closes: 537694)
     + upstream/393926-internal-viewer.patch: revert the patch and add the
       auto_view of text/x-diff (Closes: 546760, 549158)
+    + upstream/548577-gpgme-1.2.patch: do not fail to open pgp signed message
+      with libgpgme >= 1.2 (Closes: 548577)
 
- -- Antonio Radici <antonio@dyne.org>  Wed, 16 Sep 2009 22:31:22 +0100
+ -- Antonio Radici <antonio@dyne.org>  Wed, 02 Dec 2009 22:38:00 +0000
 
 mutt (1.5.20-4) unstable; urgency=low
 
index badc36fec5d32f212fb53cb9a43f041ecc60b7da..b5e35445d8ac4699985f708bc275b67ea27f1bb8 100644 (file)
@@ -48,6 +48,8 @@ upstream/544180-italian-yesorno.patch
 upstream/542817-smimekeys-tmpdir.patch
 upstream/544794-smtp-batch.patch
 upstream/537694-segv-imap-headers.patch
+upstream/548577-gpgme-1.2.patch
+
 misc/hyphen-as-minus.patch
 #misc/manpage-typos.patch
 misc/smime_keys-manpage.patch
diff --git a/debian/patches/upstream/548577-gpgme-1.2.patch b/debian/patches/upstream/548577-gpgme-1.2.patch
new file mode 100644 (file)
index 0000000..14dfba8
--- /dev/null
@@ -0,0 +1,27 @@
+this patch fixes upstream bug http://bugs.mutt.org/3300 so that
+mutt will be able to open pgp crypted/signed message with gpgme
+
+--- a/init.c
++++ b/init.c
+@@ -51,6 +51,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)) \
+@@ -3266,6 +3270,10 @@
+   mutt_read_histfile ();
++#ifdef CRYPT_BACKEND_GPGME
++  gpgme_check_version (NULL);
++#endif
++
+ #if 0
+   set_option (OPTWEED); /* turn weeding on by default */
+ #endif