summaryrefslogtreecommitdiff
path: root/sys-apps/makedev/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-apps/makedev/files
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-apps/makedev/files')
-rw-r--r--sys-apps/makedev/files/makedev-3.23.1-headers.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-apps/makedev/files/makedev-3.23.1-headers.patch b/sys-apps/makedev/files/makedev-3.23.1-headers.patch
new file mode 100644
index 000000000000..981a80b14ed5
--- /dev/null
+++ b/sys-apps/makedev/files/makedev-3.23.1-headers.patch
@@ -0,0 +1,25 @@
+http://bugs.gentoo.org/339674
+
+--- a/sel.h
++++ b/sel.h
+@@ -18,6 +18,7 @@
+ */
+
+ #ifdef MAKEDEV_SELINUX
++#include <limits.h>
+ #include <selinux/selinux.h>
+ static char secontextname[PATH_MAX + 2];
+ static char secontextflag[PATH_MAX + 7];
+
+https://bugs.gentoo.org/580500
+
+--- a/MAKEDEV.c
++++ b/MAKEDEV.c
+@@ -17,6 +17,7 @@
+ *
+ */
+
++#include <sys/sysmacros.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/socket.h>