[Libvir] [PATCH] A variety of fixes for Debian, old versions of GnuTLS
Richard W.M. Jones
rjones at redhat.com
Tue Aug 7 11:56:39 UTC 2007
Attached is a patch to get libvirt working on Debian/stable again.
(1) Add ./configure option --disable-stack-protector. The stack
protector feature is still enabled by default, but it causes no end of
problems when compiling on Debian systems, apparently because of bugs in
their gcc. So Debian users would be well advised to try disabling it if
they have problems building.
(2) Adds support for GnuTLS 1.0.x by detecting this version and enabling
some simple compatibility macros.
(3) In qemudDispatchClientEvent, a prototype shadowed a global function
name. A simple name change to a parameter fixes it.
(4) Debian (and likely non-Linux systems also) don't have the
SIOCBRADDBR and related ioctls. If these are missing, then I've changed
this to runtime errors. This means that these systems won't be able to
start the network daemon, but other (non-network) features of libvirt
continue to work.
(5) Removed a warning in src/qemu_conf.c.
Rich.
PS. You need to drop the file gnutls_1_0_compat.h into src/
subdirectory. Sorry this file isn't in the proper patch but I don't
have write access to CVS from the testing machine.
--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-debian-20070807.patch
Type: text/x-patch
Size: 8245 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070807/9fe494b5/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnutls_1_0_compat.h
Type: text/x-chdr
Size: 1382 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070807/9fe494b5/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070807/9fe494b5/attachment-0005.bin>
More information about the libvir-list
mailing list