diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-04-19 18:33:35 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-04-19 18:33:49 -0400 |
commit | dd07e099f643312f25241cdf3bf982b103cb9545 (patch) | |
tree | ae9cd6eb307912b865320d74122039b551f46b68 /sys-process/atop | |
parent | sys-fs/lufis: Remove old (diff) | |
download | gentoo-dd07e099f643312f25241cdf3bf982b103cb9545.tar.gz gentoo-dd07e099f643312f25241cdf3bf982b103cb9545.tar.bz2 gentoo-dd07e099f643312f25241cdf3bf982b103cb9545.zip |
sys-process/atop: fix build w/newer glibc #580372
Diffstat (limited to 'sys-process/atop')
-rw-r--r-- | sys-process/atop/atop-2.2.ebuild | 1 | ||||
-rw-r--r-- | sys-process/atop/files/atop-2.2-sysmacros.patch | 14 |
2 files changed, 15 insertions, 0 deletions
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 <signal.h> + #include <string.h> + #include <dirent.h> ++#include <sys/sysmacros.h> + + #include <sys/socket.h> + #include <netinet/in.h> |