[libvirt] [PATCH 0/2] Rawhide fix for major() in sys/types.h

Now that autoconf and gnulib have worked around the glibc 2.25 issue, we don't need our hack any more. I'll probably push in 24 hours under the gnulib-maintenance rule, if I don't get a review first. Eric Blake (2): build: update to latest gnulib Revert "configure: Check for major() more strictly" .gnulib | 2 +- configure.ac | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) -- 2.7.4

In particular, pull in gnulib's fix for the broken AC_HEADER_MAJOR macro in autoconf. Signed-off-by: Eric Blake <eblake@redhat.com> --- * .gnulib a2a3943...a512e04 (42):
sys_types: avoid glibc 2.25 warnings about major() mountlist: include sysmacros.h for glibc extensions: port to more ISO C TSes intprops: new macro TYPE_WIDTH extensions: port to recent ISO C TRs update from texinfo update from texinfo dfa: port to Solaris 9 autoupdate strverscmp: avoid link failure on OS X dfa: new module, importing grep's DFA matcher getprogname-tests: don't depend on assert-h getprogname-tests: work also when EXEEXT is nonempty getprogname: fix errors in previous change parse-datetime: restrict debug output to input string flexmember: new macro FLEXALIGNOF getprogname: port to systems with __argv (mingw, msvc) flexmember: port better to GCC + valgrind getprogname: port to Solaris 10 stdalign: correct mistake in alignof doc getprogname.h: declare with _GL_ATTRIBUTE_PURE, when required main.mk: remove sc_program_name Port tests away from progname Port modules to use getprogname explicitly getprogname: new module autoupdate manywarnings: add -fno-common parse-datetime: Fix typo. intprops: tune INT_NEGATE_OVERFLOW for GCC 5 and 6 strverscmp: sync with glibc xalloc-oversized.h: port __builtin_mul_overflow change to GCC 6.2.0 intprops.h: port recent changes to GCC 6.2.0 intprops.h: use __typeof__ with GCC 7 intprops.h, xalloc-oversized.h: work with gcc 7 intprops.h: fix missing-backslash problems autoupdate intprops: fix paren typo on old platforms intprops: port to OpenVMS parse-datetime: improve debug implementation c-strcase-tests: port to EBCDIC sigpipe-tests: fix typo canonicalize-lgpl: fix errno after malloca fails
.gnulib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gnulib b/.gnulib index a2a3943..a512e04 160000 --- a/.gnulib +++ b/.gnulib @@ -1 +1 @@ -Subproject commit a2a39436b65f329630df4a93ec4e30aeae403c54 +Subproject commit a512e041120e9012e69afa2f5c3adc196ec4999a -- 2.7.4

This reverts commit d53fa838e18d8c192296487ff40c3a37420b6d06, which is no longer needed now that gnulib does the job. Signed-off-by: Eric Blake <eblake@redhat.com> --- configure.ac | 3 --- 1 file changed, 3 deletions(-) diff --git a/configure.ac b/configure.ac index f322c4a..f6076bd 100644 --- a/configure.ac +++ b/configure.ac @@ -144,10 +144,7 @@ AC_TYPE_UID_T dnl Support building Win32 DLLs (must appear *before* AM_PROG_LIBTOOL) AC_LIBTOOL_WIN32_DLL -old_CFLAGS=$CFLAGS -CFLAGS="$CFLAGS -Werror" AC_HEADER_MAJOR -CFLAGS=$old_CFLAGS m4_ifndef([LT_INIT], [ AM_PROG_LIBTOOL -- 2.7.4

On 09/16/2016 08:41 AM, Eric Blake wrote:
Now that autoconf and gnulib have worked around the glibc 2.25 issue, we don't need our hack any more. I'll probably push in 24 hours under the gnulib-maintenance rule, if I don't get a review first.
Now pushed.
Eric Blake (2): build: update to latest gnulib Revert "configure: Check for major() more strictly"
.gnulib | 2 +- configure.ac | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-)
-- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (1)
-
Eric Blake