[libvirt] Entering freeze for libvirt-0.10.0

Eric Blake eblake at redhat.com
Mon Aug 27 21:09:00 UTC 2012


On 08/24/2012 10:19 AM, Eric Blake wrote:

> Ah, that rings a bell, I knew I'd seen this issue before.  I'm actually
> surprised it STILL hasn't been fixed in Ubuntu, and maybe it's time to
> apply the workaround below as a build-breaker fix (I think I've posted
> it on list before, but never committed it).
> 

> 
> diff --git i/src/util/virnetlink.h w/src/util/virnetlink.h
> index 1982dae..82154de 100644
> --- i/src/util/virnetlink.h
> +++ w/src/util/virnetlink.h
> @@ -26,7 +26,11 @@
> 
>  # if defined(__linux__) && defined(HAVE_LIBNL)
> 
> +/* Work around a bug where older libnl-1 headers expected older gcc
> + * semantics of 'extern inline' that conflict with C99 semantics.  */
> +#  define inline
>  #  include <netlink/msg.h>
> +#  undef inline

I've now pushed this under the build-breaker rule.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120827/a6e47ff2/attachment-0001.sig>


More information about the libvir-list mailing list