mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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
This commit is contained in:
committed by
Lars Wendler
parent
5a45b12053
commit
3505625d78
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user