From bbf68d4424a50b48752768593401dee774044295 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 19 Apr 2016 02:10:15 -0400 Subject: sys-fs/jfsutils: fix building w/newer glibc #580056 --- sys-fs/jfsutils/files/jfsutils-1.1.15-sysmacros.patch | 15 +++++++++++++++ sys-fs/jfsutils/jfsutils-1.1.15.ebuild | 1 + 2 files changed, 16 insertions(+) create mode 100644 sys-fs/jfsutils/files/jfsutils-1.1.15-sysmacros.patch (limited to 'sys-fs') 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 + #include + ++#if HAVE_SYS_SYSMACROS_H ++#include ++#endif ++ + #ifdef HAVE_SYS_MOUNT_H + #ifdef HAVE_SYS_PARAM_H + #include 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() { -- cgit v1.2.3-65-gdbad