summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/jfsutils/files/jfsutils-1.1.15-sysmacros.patch')
-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>