diff options
Diffstat (limited to 'x11-drivers/xf86-video-virtualbox/files')
3 files changed, 28 insertions, 1 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> + + diff --git a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.4-Makefile.module.kms.patch b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.4-Makefile.module.kms.patch index f34ac667..3acd10cc 100644 --- a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.4-Makefile.module.kms.patch +++ b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.4-Makefile.module.kms.patch @@ -1,6 +1,6 @@ --- a/src/VBox/Additions/linux/drm/Makefile.module.kms +++ b/src/VBox/Additions/linux/drm/Makefile.module.kms -@@ -43,7 +43,7 @@ else +@@ -50,7 +50,7 @@ else MANGLING := $(KBUILD_EXTMOD)/include/VBox/VBoxGuestMangling.h endif MOD_CFLAGS = -Wno-declaration-after-statement -fshort-wchar -include $(MANGLING) -fno-pie diff --git a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-kms.patch b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-kms.patch new file mode 100644 index 00000000..56fdfd2a --- /dev/null +++ b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-kms.patch @@ -0,0 +1,12 @@ +diff -Nur a/src/VBox/Additions/linux/drm/Makefile.module.kms b/src/VBox/Additions/linux/drm/Makefile.module.kms +--- a/src/VBox/Additions/linux/drm/Makefile.module.kms 2017-07-17 16:58:30.000000000 +0100 ++++ b/src/VBox/Additions/linux/drm/Makefile.module.kms 2017-07-22 14:29:44.977047225 +0100 +@@ -50,7 +50,7 @@ + ifneq ($(KERN_VERSION),24) + MOD_CFLAGS += -include $(MANGLING) + endif +-MOD_INCL = $(addprefix -I$(KBUILD_EXTMOD),/ /include) ++MOD_INCL = $(addprefix -I$(KBUILD_EXTMOD),/ /include /r0drv/linux) + # What on earth is this? + MOD_INCL += $(addprefix -I$(KBUILD_EXTMOD)/vboxvideo,/ /include) + MOD_INCL += -Iinclude/drm |