alonbl      14/04/28 13:22:02

  Added:                dirmngr-1.1.1-pth.patch
  Log:
  Fix bug#508892, thanks to Fabio Coatti
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
BF20DC51)

Revision  Changes    Path
1.1                  app-crypt/dirmngr/files/dirmngr-1.1.1-pth.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/dirmngr/files/dirmngr-1.1.1-pth.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/dirmngr/files/dirmngr-1.1.1-pth.patch?rev=1.1&content-type=text/plain

Index: dirmngr-1.1.1-pth.patch
===================================================================
Index: src/dirmngr.c
===================================================================
--- src/dirmngr.c       (revision 348)
+++ src/dirmngr.c       (working copy)
@@ -665,8 +665,11 @@
      the option parsing may need services of the libraries. */
 
   /* Libgcrypt requires us to register the threading model first.
-     Note that this will also do the pth_init. */
+     Note that this will also do the pth_init for libgcrypt < 1.6 */
 
+#if GCRYPT_VERSION_NUMBER >= 0x010600
+  pth_init ();
+#endif
   /* Init Libgcrypt. */
   rc = gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pth);
   if (rc)




Reply via email to