summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-10-17 11:13:34 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-10-17 11:13:34 +0200
commit66cc657956afa033a7c3e85875a68a3d383c4048 (patch)
tree4bdf3bb6eaa3f159bc717d2d7f400f18c129e8df /x11-drivers/xf86-video-virtualbox
parentvirtualbox packages: removed old. (diff)
downloadgentoo-66cc657956afa033a7c3e85875a68a3d383c4048.tar.gz
gentoo-66cc657956afa033a7c3e85875a68a3d383c4048.tar.bz2
gentoo-66cc657956afa033a7c3e85875a68a3d383c4048.zip
x11-drivers/xf86-video-virtualbox: Fixed sysmacros patch.
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'x11-drivers/xf86-video-virtualbox')
-rw-r--r--x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.30-sysmacros.patch20
-rw-r--r--x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.30.ebuild2
2 files changed, 21 insertions, 1 deletions
diff --git a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.30-sysmacros.patch b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.30-sysmacros.patch
new file mode 100644
index 000000000000..0ee85e52f002
--- /dev/null
+++ b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.30-sysmacros.patch
@@ -0,0 +1,20 @@
+--- VirtualBox-5.1.30/src/VBox/Main/src-server/linux/HostHardwareLinux.cpp
++++ VirtualBox-5.1.30/src/VBox/Main/src-server/linux/HostHardwareLinux.cpp
+@@ -64,6 +64,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+
+
+ /*********************************************************************************************************************************
+--- VirtualBox-5.1.30/src/VBox/Main/src-server/linux/USBGetDevices.cpp
++++ VirtualBox-5.1.30/src/VBox/Main/src-server/linux/USBGetDevices.cpp
+@@ -47,6 +47,7 @@
+
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <sys/vfs.h>
+
+ #include <dirent.h>
diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.30.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.30.ebuild
index 3eb7cfa80d31..816a3943e3cd 100644
--- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.30.ebuild
+++ b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.30.ebuild
@@ -60,7 +60,7 @@ PATCHES=(
"${FILESDIR}/${PN}-5.1.10-xorg119.patch"
# fix bug #579946
- "${FILESDIR}/${PN}-5.1.22-sysmacros.patch"
+ "${FILESDIR}/${PN}-5.1.30-sysmacros.patch"
)
QA_TEXTRELS_x86="usr/lib/VBoxOGL.so"