diff options
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/jfsutils/files/jfsutils-1.1.15-sysmacros.patch | 15 | ||||
-rw-r--r-- | sys-fs/jfsutils/jfsutils-1.1.15.ebuild | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/sys-fs/jfsutils/files/jfsutils-1.1.15-sysmacros.patch b/sys-fs/jfsutils/files/jfsutils-1.1.15-sysmacros.patch new file mode 100644 index 000000000000..82f9d632ac53 --- /dev/null +++ b/sys-fs/jfsutils/files/jfsutils-1.1.15-sysmacros.patch @@ -0,0 +1,15 @@ +https://bugs.gentoo.org/580056 + +--- a/libfs/devices.c ++++ b/libfs/devices.c +@@ -30,6 +30,10 @@ + #include <stdio.h> + #include <stdlib.h> + ++#if HAVE_SYS_SYSMACROS_H ++#include <sys/sysmacros.h> ++#endif ++ + #ifdef HAVE_SYS_MOUNT_H + #ifdef HAVE_SYS_PARAM_H + #include <sys/param.h> diff --git a/sys-fs/jfsutils/jfsutils-1.1.15.ebuild b/sys-fs/jfsutils/jfsutils-1.1.15.ebuild index ff4059d76562..c839a51d52a5 100644 --- a/sys-fs/jfsutils/jfsutils-1.1.15.ebuild +++ b/sys-fs/jfsutils/jfsutils-1.1.15.ebuild @@ -19,6 +19,7 @@ DOCS=( AUTHORS ChangeLog NEWS README ) src_prepare() { epatch "${FILESDIR}"/${P}-linux-headers.patch #448844 + epatch "${FILESDIR}"/${P}-sysmacros.patch #580056 } src_configure() { |