vapier 16/04/16 06:28:27 Modified: README.history Added: 020_all_sysmacros.patch Log: fix building w/glibc-2.23 #580014
Revision Changes Path 1.2 src/patchsets/coreutils/8.25/README.history file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/coreutils/8.25/README.history?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/coreutils/8.25/README.history?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/coreutils/8.25/README.history?r1=1.1&r2=1.2 Index: README.history =================================================================== RCS file: /var/cvsroot/gentoo/src/patchsets/coreutils/8.25/README.history,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- README.history 20 Jan 2016 18:43:23 -0000 1.1 +++ README.history 16 Apr 2016 06:28:27 -0000 1.2 @@ -1,3 +1,6 @@ +1.1 16 Apr 2016 + + 020_all_sysmacros.patch + 1.0 20 Jan 2016 + 003_all_coreutils-gentoo-uname.patch + 010_all_coreutils-tests.patch 1.1 src/patchsets/coreutils/8.25/020_all_sysmacros.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/coreutils/8.25/020_all_sysmacros.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/coreutils/8.25/020_all_sysmacros.patch?rev=1.1&content-type=text/plain Index: 020_all_sysmacros.patch =================================================================== patch sent to upstream gnulib https://bugs.gentoo.org/580014 >From 45eae8fd19089c4ba2b66c063fe127ee131f0b00 Mon Sep 17 00:00:00 2001 From: Mike Frysinger <[email protected]> Date: Sat, 16 Apr 2016 01:59:07 -0400 Subject: [PATCH] mountlist/ptsname_r: leverage AC_HEADER_MAJOR These two modules use makedev/major/minor but don't have explicit checks for the functions. Use the existing autoconf macro which will probe some headers for use and set up some defines. * lib/mountlist.c [MAJOR_IN_MKDEV]: Include sys/mkdev.h. [MAJOR_IN_SYSMACROS]: Include sys/sysmacros.h. * lib/ptsname_r.c: Likewise. [__sun]: Delete sys/sysmacros.h include. [_AIX || __osf__]: Likewise. * m4/mountlist.m4 (gl_MOUNTLIST): Require AC_HEADER_MAJOR. * m4/ptsname_r.m4 (gl_FUNC_PTSNAME_R): Likewise. --- lib/mountlist.c | 7 +++++++ lib/ptsname_r.c | 12 ++++++++---- m4/mountlist.m4 | 1 + m4/ptsname_r.m4 | 2 ++ 4 files changed, 18 insertions(+), 4 deletions(-) --- a/lib/mountlist.c +++ b/lib/mountlist.c @@ -37,6 +37,10 @@ # include <sys/param.h> #endif +#ifdef __linux__ +# include <sys/sysmacros.h> +#endif + #if defined MOUNTED_GETFSSTAT /* OSF_1 and Darwin1.3.x */ # if HAVE_SYS_UCRED_H # include <grp.h> /* needed on OSF V4.0 for definition of NGROUPS,
