﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
3369	NetworkManager fails to build	Pierre Labastie	blfs-book@…	"I do not know exactly whether it comes from the new GnuTLS version or gcc-4.7, but NetworkManager does not build and ends up with the error:
{{{
crypto_gnutls.c: In function 'crypto_verify_cert':
crypto_gnutls.c:354:2: error: 'gnutls_datum' is deprecated (declared at /usr/include/gnutls/gnutls.h:716) [-Werror=deprecated-declarations]
crypto_gnutls.c: In function 'crypto_verify_pkcs12':
crypto_gnutls.c:394:2: error: 'gnutls_datum' is deprecated (declared at /usr/include/gnutls/gnutls.h:716) [-Werror=deprecated-declarations]
crypto_gnutls.c: In function 'crypto_verify_pkcs8':
crypto_gnutls.c:448:2: error: 'gnutls_datum' is deprecated (declared at /usr/include/gnutls/gnutls.h:716) [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors
make[5]: *** [libnm_util_la-crypto_gnutls.lo] Error 1
make[5]: Leaving directory `/sources/NetworkManager/NetworkManager-0.9.4.0/libnm-util'
[...]
}}}
The following sed allows to build:
{{{
sed -i 's/gnutls_datum /gnutls_datum_t /' libnm-util/crypto_gnutls.c
}}}
Be sure to include the spaces before the 2nd and 3rd / 
"	defect	closed	normal		BOOK	SVN	medium	fixed		
