From dd07e099f643312f25241cdf3bf982b103cb9545 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 19 Apr 2016 18:33:35 -0400 Subject: sys-process/atop: fix build w/newer glibc #580372 --- sys-process/atop/atop-2.2.ebuild | 1 + sys-process/atop/files/atop-2.2-sysmacros.patch | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 sys-process/atop/files/atop-2.2-sysmacros.patch diff --git a/sys-process/atop/atop-2.2.ebuild b/sys-process/atop/atop-2.2.ebuild index 7283c207b5d7..7b4ccf21e916 100644 --- a/sys-process/atop/atop-2.2.ebuild +++ b/sys-process/atop/atop-2.2.ebuild @@ -31,6 +31,7 @@ S=${WORKDIR}/${MY_P} src_prepare() { epatch "${FILESDIR}"/${PN}-2.2-build.patch + epatch "${FILESDIR}"/${PN}-2.2-sysmacros.patch #580372 tc-export CC PKG_CONFIG sed -i 's: root : :' atop.cronsysv || die #191926 # prefixify diff --git a/sys-process/atop/files/atop-2.2-sysmacros.patch b/sys-process/atop/files/atop-2.2-sysmacros.patch new file mode 100644 index 000000000000..87fd069c8fdb --- /dev/null +++ b/sys-process/atop/files/atop-2.2-sysmacros.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/580372 + +include sys/sysmacros.h for major/minor prototypes + +--- a/photosyst.c ++++ b/photosyst.c +@@ -164,6 +164,7 @@ + #include + #include + #include ++#include + + #include + #include -- cgit v1.2.3-65-gdbad