diff options
author | Kacper Kołodziej <kacper@kolodziej.in> | 2017-07-24 23:20:26 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-07-25 13:47:12 +0200 |
commit | 3505625d78efd28a7a4e5a12f56e788becc3fa1a (patch) | |
tree | 60341a36bb1a8ae7260b4257aaff95828110223a /x11-drivers | |
parent | app-emulation/virtualbox-guest-additions: fix #625116 (diff) | |
download | gentoo-3505625d78efd28a7a4e5a12f56e788becc3fa1a.tar.gz gentoo-3505625d78efd28a7a4e5a12f56e788becc3fa1a.tar.bz2 gentoo-3505625d78efd28a7a4e5a12f56e788becc3fa1a.zip |
x11-drivers/xf86-video-virtualbox: fix bug #625690
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/5202
Diffstat (limited to 'x11-drivers')
-rw-r--r-- | x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.24-Makefile.module.kms.patch | 13 | ||||
-rw-r--r-- | x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.24.ebuild | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.24-Makefile.module.kms.patch b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.24-Makefile.module.kms.patch new file mode 100644 index 000000000000..c5d3c3fc730e --- /dev/null +++ b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.24-Makefile.module.kms.patch @@ -0,0 +1,13 @@ +Fix bug #625690 + +--- a/src/VBox/Additions/linux/drm/Makefile.module.kms ++++ b/src/VBox/Additions/linux/drm/Makefile.module.kms +@@ -50,7 +50,7 @@ MOD_CFLAGS = -Wno-declaration-after-statement -fshort-wchar -fno-pie + 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 diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.24.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.24.ebuild index 31448eb0c1aa..3eb7cfa80d31 100644 --- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.24.ebuild +++ b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.24.ebuild @@ -75,7 +75,7 @@ pkg_setup() { src_prepare() { # Prepare the vboxvideo_drm Makefiles and build dir - eapply "${FILESDIR}"/${PN}-5.1.4-Makefile.module.kms.patch + eapply "${FILESDIR}"/${PN}-5.1.24-Makefile.module.kms.patch # Remove shipped binaries (kBuild,yasm), see bug #232775 rm -r kBuild/bin tools || die |