summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-19 02:10:15 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-19 02:10:15 -0400
commitbbf68d4424a50b48752768593401dee774044295 (patch)
treea23c1c9613ce81f69273bbb556d514264cf21fc7 /sys-fs/jfsutils/files
parentsys-fs/jfsutils: document linux-headers patch (diff)
downloadgentoo-bbf68d4424a50b48752768593401dee774044295.tar.gz
gentoo-bbf68d4424a50b48752768593401dee774044295.tar.bz2
gentoo-bbf68d4424a50b48752768593401dee774044295.zip
sys-fs/jfsutils: fix building w/newer glibc #580056
Diffstat (limited to 'sys-fs/jfsutils/files')
-rw-r--r--sys-fs/jfsutils/files/jfsutils-1.1.15-sysmacros.patch15
1 files changed, 15 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>