aboutsummaryrefslogtreecommitdiff
path: root/system/virtualbox/virtualbox.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-10-21 17:57:45 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-22 13:03:40 +0700
commitaf916950852b8c1220adfe00d136cbb561f1ea17 (patch)
tree6430a79b15b3ce77ee8393c15db3b342d2df9ee2 /system/virtualbox/virtualbox.SlackBuild
parenta8b18fc081588e0495f704e6eea6c56c77609fc6 (diff)
system/virtualbox: Updated for version 6.1.28, detect python 3.10.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/virtualbox/virtualbox.SlackBuild')
-rw-r--r--system/virtualbox/virtualbox.SlackBuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/system/virtualbox/virtualbox.SlackBuild b/system/virtualbox/virtualbox.SlackBuild
index ddedab4817f1..bc9c56e385cd 100644
--- a/system/virtualbox/virtualbox.SlackBuild
+++ b/system/virtualbox/virtualbox.SlackBuild
@@ -27,8 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=virtualbox
SRCNAM=VirtualBox
-VERSION=${VERSION:-6.1.26}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-6.1.28}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -127,12 +127,8 @@ patch -d src/VBox/Installer/linux -i $CWD/vboxdrv.sh-setup.diff
# Fix wrong path to rdesktop-vrdp-keymaps
patch -p1 -i $CWD/006-rdesktop-vrdp-keymap-path.patch
-# Skip python2 detection
-sed -i 's|python2.7 python2.6 ||' ./configure
-
-# Remove gcc version check and fix the qt5 flags
-sed -i 's/^check_gcc$/#check_gcc/' ./configure
-patch -p1 < $CWD/configure.patch
+# Skip python2 detection and cheat about python-3.10 support
+sed -i 's|python2.7 python2.6 |python3.10 |' ./configure
# Use our CFLAGS
sed -i "s|CXX_FLAGS=\"\"|CXX_FLAGS=\"$SLKCFLAGS -std=c++11\"|" ./configure