summaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.22-sysmacros.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.22-sysmacros.patch')
-rw-r--r--x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.22-sysmacros.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.22-sysmacros.patch b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.22-sysmacros.patch
new file mode 100644
index 00000000..673beef3
--- /dev/null
+++ b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.22-sysmacros.patch
@@ -0,0 +1,15 @@
+Fix bug #579910. Add sys/sysmacros.h header.
+
+https://bugs.gentoo.org/579910
+
+index 20ae130..2f3fac0 100644
+--- a/src/VBox/Runtime/r3/linux/sysfs.cpp
++++ b/src/VBox/Runtime/r3/linux/sysfs.cpp
+@@ -46,6 +46,7 @@
+ #include <sys/sysctl.h>
+ #include <sys/stat.h>
+ #include <sys/fcntl.h>
++#include <sys/sysmacros.h>
+ #include <errno.h>
+
+