Sisyphus repository
Last update: 26 may 2019 | SRPMs: 17693 | Visits: 13601271
en ru br
ALT Linux repos
S:5.2.26-alt3
5.0: 3.0.4-alt0.M50.1
4.1: 2.1.4-alt0.M41.5
4.0:
+backports:1.6.6-alt0.M40.2

Group :: Emulators
RPM: virtualbox

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: vbox-buildfix.diff
Download


---
 Config.kmk                    |    9 ++++++++-
 src/VBox/Runtime/Makefile.kmk |    1 +
 2 files changed, 9 insertions(+), 1 deletion(-)
--- a/Config.kmk
+++ b/Config.kmk
@@ -1216,7 +1216,14 @@ ifneq ($(filter linux,$(BUILD_TARGET)),)
     kernelpath := $(realpath $(VBOX_LINUX_SRC)/$(kernelsrc))
     VBOX_LINUX_INCS                 += $(VBOX_LINUX_SRC)/include2 $(kernelpath)/include
    else
-    kernelpath := $(VBOX_LINUX_SRC)
+    # 2.6.25 format for splitted sources
+    kernelsrc := $(shell $(SED_EXT) -ne 's+^MAKEARGS := -C++p' $(VBOX_LINUX_SRC)/Makefile)
+    ifneq ($(kernelsrc),)
+     kernelpath := $(realpath $(VBOX_LINUX_SRC)/$(kernelsrc))
+     VBOX_LINUX_INCS                 += $(VBOX_LINUX_SRC)/include2 $(kernelpath)/include
+    else
+     kernelpath := $(VBOX_LINUX_SRC)
+    endif
    endif
    ifeq ($(BUILD_TARGET_ARCH),x86)
      VBOX_LINUX_INCS                += $(kernelpath)/include/asm-i386/mach-default \
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin