[gnulib PATCH 0/2] Work around glibc 2.25 deprecation warnings

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

 



Fedora rawhide builds of libvirt.git at commit d53fa838^ failed
due to the new glibc 2.25 deprecation warning for use of major()
from just <sys/types.h>; I also found that the same warning is
provoked by gnulib's mountlist module.  Libvirt commit d53fa838
was a temporary hack to work around the problem, and I will be
reverting that and updating to newer gnulib once this goes in.

I've tested that libvirt on Fedora rawhide with d53fa838 reverted
and gnulib updated to this commit was once again able to build.

Comments welcome, particularly for my choice of wording in
documentation changes.  The final push will differ slightly from
this, especially if the autoconf patch going in first changes
slightly due to review there, but this should give a good idea
of the fix.

Eric Blake (2):
  mountlist: include sysmacros.h for glibc
  sys_types: avoid glibc 2.25 warnings about major()

 ChangeLog                                | 15 +++++++++++++++
 doc/glibc-functions/gnu_dev_major.texi   |  4 ++++
 doc/glibc-functions/gnu_dev_makedev.texi |  4 ++++
 doc/glibc-functions/gnu_dev_minor.texi   |  4 ++++
 doc/posix-headers/sys_types.texi         |  6 ++++++
 lib/mountlist.c                          |  6 ++++++
 m4/mountlist.m4                          |  3 ++-
 m4/sys_types_h.m4                        | 27 ++++++++++++++++++++++++++-
 8 files changed, 67 insertions(+), 2 deletions(-)

-- 
2.7.4

--
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]