diff options
Diffstat (limited to 'source/n/dirmngr/dirmngr-pth-fix.patch')
-rw-r--r-- | source/n/dirmngr/dirmngr-pth-fix.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/source/n/dirmngr/dirmngr-pth-fix.patch b/source/n/dirmngr/dirmngr-pth-fix.patch new file mode 100644 index 000000000..862458ed1 --- /dev/null +++ b/source/n/dirmngr/dirmngr-pth-fix.patch @@ -0,0 +1,17 @@ +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) |