summaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-kms.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-07-22 14:37:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-07-22 14:37:29 +0100
commitfb465e879075b8ae73954a3503b3e669f83a7158 (patch)
tree31561c9cebbe1b6be4fb9656a36b046adafcab41 /x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-kms.patch
parentec3a03fa0cb7eda1fec7fec2a5642be8472922aa (diff)
x11-drivers/xf86-video-virtualbox : adjust Gentoo's out-of-date kms patch
Diffstat (limited to 'x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-kms.patch')
-rw-r--r--x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-kms.patch12
1 files changed, 12 insertions, 0 deletions
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