wok-current rev 17405

openvas-libraries: gnutls_connection_end_t is depredicated
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 28 17:13:49 2014 +0100 (2014-11-28)
parents 05a0cbbb07b4
children eba8a294807b
files openvas-libraries/receipt
line diff
     1.1 --- a/openvas-libraries/receipt	Fri Nov 28 16:54:30 2014 +0100
     1.2 +++ b/openvas-libraries/receipt	Fri Nov 28 17:13:49 2014 +0100
     1.3 @@ -17,6 +17,8 @@
     1.4  compile_rules()
     1.5  {
     1.6  	sed -i 's/.*gnutls_transport_set_lowat.*/#if GNUTLS_VERSION_NUMBER < 0x020c00\n&\n#endif/' misc/network.c
     1.7 +	# gnutls_connection_end_t depredicated for gnutls >= 3.0.18
     1.8 +	sed -i 's/gnutls_connection_end_t/unsigned int/' misc/openvas_server.h misc/openvas_server.c
     1.9  	./configure --prefix=/usr --localstatedir=/var \
    1.10  	--mandir=/usr/share/man \
    1.11  	$CONFIGURE_ARGS &&