]> git.pld-linux.org Git - packages/dirmngr.git/blame - dirmngr-pth.patch
- added pl.po patch
[packages/dirmngr.git] / dirmngr-pth.patch
CommitLineData
f0ceae55
LM
1Index: src/dirmngr.c
2===================================================================
3--- src/dirmngr.c (revision 348)
4+++ src/dirmngr.c (working copy)
5@@ -665,8 +665,11 @@
6 the option parsing may need services of the libraries. */
7
8 /* Libgcrypt requires us to register the threading model first.
9- Note that this will also do the pth_init. */
10+ Note that this will also do the pth_init for libgcrypt < 1.6 */
11
12+#if GCRYPT_VERSION_NUMBER >= 0x010600
13+ pth_init ();
14+#endif
15 /* Init Libgcrypt. */
16 rc = gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pth);
17 if (rc)
This page took 0.041566 seconds and 4 git commands to generate.