Hi! the incompatibility with libgnutls26 can be fixed by using the patch below. We use this in Gpg4win. (patches/gnutls-2.12.23/fix-gcrypt-private-api-usage.patch)
Salam-Shalom, Werner #! /bin/sh patch -p0 -l -f $* < $0 exit $? 2014-08-06 Andre Heinecke <aheine...@intevation.de> * lib/gcrypt/init.c: Use GCRY_THREAD_OPTION_PTHREAD_IMPL macro instead of defining the gcry_thread_cbs structure itself. --- lib/gcrypt/init.c.oirg 2014-08-06 11:52:26.858064946 +0000 +++ lib/gcrypt/init.c 2014-08-06 12:10:31.121726144 +0000 @@ -32,16 +32,9 @@ /* Functions that refer to the initialization of the libgcrypt library. */ -static struct gcry_thread_cbs gct = { - .option = (GCRY_THREAD_OPTION_PTHREAD | (GCRY_THREAD_OPTION_VERSION << 8)), - .init = NULL, - .select = NULL, - .waitpid = NULL, - .accept = NULL, - .connect = NULL, - .sendmsg = NULL, - .recvmsg = NULL, -}; +GCRY_THREAD_OPTION_PTHREAD_IMPL; + +static struct gcry_thread_cbs gct; int gnutls_crypto_init (void) @@ -53,11 +46,12 @@ if (gnutls_mutex_init != NULL) { +#if GCRYPT_VERSION_NUMBER < 0x010600 gct.mutex_init = gnutls_mutex_init; gct.mutex_destroy = gnutls_mutex_deinit; gct.mutex_lock = gnutls_mutex_lock; gct.mutex_unlock = gnutls_mutex_unlock; - +#endif gcry_control (GCRYCTL_SET_THREAD_CBS, &gct); } -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org