x11-drivers/xf86-video-virtualbox: fix bug 579910

Package-Manager: Portage-2.3.6, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4932
This commit is contained in:
Kacper Kołodziej
2017-06-14 22:06:17 +02:00
committed by Lars Wendler
parent 2f0f2f1f80
commit fbb4e03fbd
2 changed files with 18 additions and 0 deletions

View File

@@ -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>

View File

@@ -58,6 +58,9 @@ PATCHES=(
# xorg-1.19 patch from opensuse (bug #602784)
"${FILESDIR}/${PN}-5.1.10-xorg119.patch"
# fix bug #579946
"${FILESDIR}/${PN}-5.1.22-sysmacros.patch"
)
QA_TEXTRELS_x86="usr/lib/VBoxOGL.so"