wok-6.x diff kazehakase/stuff/kazehakase-0.5.8-svn3873_trunk-gnutls3-gcry_control.patch @ rev 19621
dhcp: vlan support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 10 16:46:56 2017 +0100 (2017-01-10) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/kazehakase/stuff/kazehakase-0.5.8-svn3873_trunk-gnutls3-gcry_control.patch Tue Jan 10 16:46:56 2017 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 +--- kazehakase-0.5.8-svn3873_trunk/src/kz-app.c.gnutls3 2009-09-14 01:51:10.000000000 +0900 1.5 ++++ kazehakase-0.5.8-svn3873_trunk/src/kz-app.c 2013-02-09 21:18:04.000000000 +0900 1.6 +@@ -494,7 +494,9 @@ 1.7 + 1.8 + #ifdef USE_SSL 1.9 + /* initialize gnutls. this function should be called once. */ 1.10 ++#if GNUTLS_VERSION_NUMBER <= 0x020b00 1.11 + gcry_control(GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread); 1.12 ++#endif 1.13 + gnutls_global_init(); 1.14 + #endif 1.15 +