diff options
author | Matteo Bernardini | 2019-02-23 07:59:47 +0100 |
---|---|---|
committer | Matteo Bernardini | 2019-02-23 07:59:47 +0100 |
commit | 1e0504fb667c2e46b7658648e95f6bec2232b005 (patch) | |
tree | 59f57dadb63234845f17b82010dc7c5fc11e1446 /system/virtualbox-kernel/virtualbox-kernel.SlackBuild | |
parent | 56fec0e2e3a00a31f6b83d66093db60a3bbb19f4 (diff) | |
download | slackbuilds-current-20190223.1.tar.gz |
20190223.1 global branch merge.current-20190223.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/virtualbox-kernel/virtualbox-kernel.SlackBuild')
-rw-r--r-- | system/virtualbox-kernel/virtualbox-kernel.SlackBuild | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/system/virtualbox-kernel/virtualbox-kernel.SlackBuild b/system/virtualbox-kernel/virtualbox-kernel.SlackBuild index d6c0e8a584..4408b138e8 100644 --- a/system/virtualbox-kernel/virtualbox-kernel.SlackBuild +++ b/system/virtualbox-kernel/virtualbox-kernel.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for virtualbox-kernel -# Copyright 2008-2019 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2008-2018 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ # Modified by SlackBuilds.org PRGNAM=virtualbox-kernel -VERSION=${VERSION:-5.0.40} -BUILD=${BUILD:-2} +VERSION=${VERSION:-5.2.8} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} KERNEL=${KERNEL:-$(uname -r)} @@ -70,14 +70,6 @@ if ! [ "${HARDENING:-yes}" = "yes" ]; then {vboxdrv,vboxnetadp,vboxnetflt,vboxpci}/Makefile fi -KERNEL_MINOR=$(echo $KERNEL | cut -d "." -f 2) -KERNEL_PATCH=$(echo $KERNEL | cut -d "." -f 3) - -# Work around API break introduced in kernel 4.4.168 -if [ "$KERNEL_MINOR" = 4 -a "$KERNEL_PATCH" -ge 168 ]; then - sed -i "s|KERNEL_VERSION(4, 9, 0)|KERNEL_VERSION(4, 4, 168)|" vboxdrv/r0drv/linux/memobj-r0drv-linux.c -fi - make KERN_DIR=${KERNELPATH} mkdir -p $PKG/lib/modules/$KERNEL/misc |