[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] Entering freeze for libvirt-0.10.0



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 redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]