sys-apps/makedev: fix build w/newer glibc #580500
authorMike Frysinger <vapier@gentoo.org>
Tue, 19 Apr 2016 07:04:00 +0000 (03:04 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 19 Apr 2016 07:04:00 +0000 (03:04 -0400)
sys-apps/makedev/files/makedev-3.23.1-headers.patch

index fac3fb1b711caba3f735684cab96eedb337e610d..981a80b14ed5a1bb07d1fef910335e018519acc3 100644 (file)
@@ -1,7 +1,7 @@
 http://bugs.gentoo.org/339674
 
---- a/MAKEDEV-3.23/sel.h
-+++ b/MAKEDEV-3.23/sel.h
+--- a/sel.h
++++ b/sel.h
 @@ -18,6 +18,7 @@
   */
  
@@ -10,3 +10,16 @@ http://bugs.gentoo.org/339674
  #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>