Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-virtualbox/, x11-drivers/xf86-video-virtualbox/files/
Date: Sun, 25 Jun 2017 20:02:13
Message-Id: 1498420921.fbb4e03fbd53bd42e46d0ce64e66dca3d8154f79.polynomial-c@gentoo
1 commit: fbb4e03fbd53bd42e46d0ce64e66dca3d8154f79
2 Author: Kacper KoƂodziej <kacper <AT> kolodziej <DOT> in>
3 AuthorDate: Wed Jun 14 20:06:17 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 25 20:02:01 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbb4e03f
7
8 x11-drivers/xf86-video-virtualbox: fix bug 579910
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11 Closes: https://github.com/gentoo/gentoo/pull/4932
12
13 .../files/xf86-video-virtualbox-5.1.22-sysmacros.patch | 15 +++++++++++++++
14 .../xf86-video-virtualbox-5.1.22.ebuild | 3 +++
15 2 files changed, 18 insertions(+)
16
17 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
18 new file mode 100644
19 index 00000000000..673beef32de
20 --- /dev/null
21 +++ b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.22-sysmacros.patch
22 @@ -0,0 +1,15 @@
23 +Fix bug #579910. Add sys/sysmacros.h header.
24 +
25 +https://bugs.gentoo.org/579910
26 +
27 +index 20ae130..2f3fac0 100644
28 +--- a/src/VBox/Runtime/r3/linux/sysfs.cpp
29 ++++ b/src/VBox/Runtime/r3/linux/sysfs.cpp
30 +@@ -46,6 +46,7 @@
31 + #include <sys/sysctl.h>
32 + #include <sys/stat.h>
33 + #include <sys/fcntl.h>
34 ++#include <sys/sysmacros.h>
35 + #include <errno.h>
36 +
37 +
38
39 diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.22.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.22.ebuild
40 index cb90ffc4122..31448eb0c1a 100644
41 --- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.22.ebuild
42 +++ b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.22.ebuild
43 @@ -58,6 +58,9 @@ PATCHES=(
44
45 # xorg-1.19 patch from opensuse (bug #602784)
46 "${FILESDIR}/${PN}-5.1.10-xorg119.patch"
47 +
48 + # fix bug #579946
49 + "${FILESDIR}/${PN}-5.1.22-sysmacros.patch"
50 )
51
52 QA_TEXTRELS_x86="usr/lib/VBoxOGL.so"