mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
sys-process/atop: fix build w/newer glibc #580372
This commit is contained in:
@@ -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
|
||||
|
||||
14
sys-process/atop/files/atop-2.2-sysmacros.patch
Normal file
14
sys-process/atop/files/atop-2.2-sysmacros.patch
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user