1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-05-01 00:44:08 +02:00

Make virtualbox-guest-additions to compile

Currently official build for guest additions will fail due to some
unset/wrong set variables. This is an workaround for it - added KERN_VER
variable which is set to current kernel version, so this ebuild cannot
be run against new kernel version while executed on older/other kernel
version.
This commit is contained in:
2018-11-25 09:10:20 +01:00
parent 18fcf3ca69
commit 5cdd66dd7c
9 changed files with 372 additions and 0 deletions
@@ -0,0 +1,13 @@
# https://bugs.gentoo.org/298988
--- a/vboxguest/Makefile
+++ b/vboxguest/Makefile
@@ -104,7 +104,7 @@
MOD_DEFS = -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST \
-DIN_GUEST_R0 -DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST \
- -DVBOX_WITH_HGCM
+ -DVBOX_WITH_HGCM -DLOG_USE_C99
ifeq ($(BUILD_TARGET_ARCH),amd64)
MOD_DEFS += -DRT_ARCH_AMD64
else