Re: Entering freeze for libvirt-0.10.0

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

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]