diff options
Diffstat (limited to 'sys-process/psmisc')
-rw-r--r-- | sys-process/psmisc/files/psmisc-22.21-sysmacros.patch | 26 | ||||
-rw-r--r-- | sys-process/psmisc/psmisc-22.21-r2.ebuild | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/sys-process/psmisc/files/psmisc-22.21-sysmacros.patch b/sys-process/psmisc/files/psmisc-22.21-sysmacros.patch new file mode 100644 index 00000000000..440c5e62e7e --- /dev/null +++ b/sys-process/psmisc/files/psmisc-22.21-sysmacros.patch @@ -0,0 +1,26 @@ +From 367886e1c49238d1a02721f849564d77a163465b Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Mon, 7 Mar 2016 14:52:22 -0500 +Subject: [PATCH] fuser: include sysmacros.h for makedev + +BSD/Linux define makedev in the sysmacros.h header. Include it directly +instead of relying on types.h pulling it in for us. +--- + src/fuser.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/fuser.c b/src/fuser.c +index da94d22..380046f 100644 +--- a/src/fuser.c ++++ b/src/fuser.c +@@ -36,6 +36,7 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/socket.h> ++#include <sys/sysmacros.h> + #include <sys/wait.h> + #include <arpa/inet.h> + #include <netinet/in.h> +-- +2.6.2 + diff --git a/sys-process/psmisc/psmisc-22.21-r2.ebuild b/sys-process/psmisc/psmisc-22.21-r2.ebuild index febfaa74ede..a2894e7d08d 100644 --- a/sys-process/psmisc/psmisc-22.21-r2.ebuild +++ b/sys-process/psmisc/psmisc-22.21-r2.ebuild @@ -26,6 +26,7 @@ DOCS="AUTHORS ChangeLog NEWS README" src_prepare() { epatch "${FILESDIR}/${P}-fuser_typo_fix.patch" + epatch "${FILESDIR}/${P}-sysmacros.patch" } src_configure() { |