Index: emulators/virtualbox-ose-additions/Makefile =================================================================== --- emulators/virtualbox-ose-additions/Makefile +++ emulators/virtualbox-ose-additions/Makefile @@ -1,7 +1,7 @@ # Created by: Bernhard Froehlich PORTNAME= virtualbox-ose -PORTVERSION= 6.1.22 +PORTVERSION= 6.1.24 CATEGORIES= emulators MASTER_SITES= https://download.virtualbox.org/virtualbox/${PORTVERSION}/ PKGNAMESUFFIX?= -additions Index: emulators/virtualbox-ose-additions/distinfo =================================================================== --- emulators/virtualbox-ose-additions/distinfo +++ emulators/virtualbox-ose-additions/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1619727799 -SHA256 (VirtualBox-6.1.22.tar.bz2) = 99816d2a15205d49362a31e8ffeb8262d2fa0678c751dfd0a7c43b2faca8be49 -SIZE (VirtualBox-6.1.22.tar.bz2) = 165560989 +TIMESTAMP = 1626814673 +SHA256 (VirtualBox-6.1.24.tar.bz2) = 3bd7ca9df231418008823e752b046e316843e896b4e608c763302c86146e6966 +SIZE (VirtualBox-6.1.24.tar.bz2) = 165754851 Index: emulators/virtualbox-ose-kmod/Makefile =================================================================== --- emulators/virtualbox-ose-kmod/Makefile +++ emulators/virtualbox-ose-kmod/Makefile @@ -1,8 +1,7 @@ # Created by: Bernhard Froehlich PORTNAME= virtualbox-ose -PORTVERSION= 6.1.22 -PORTREVISION= 1 +PORTVERSION= 6.1.24 CATEGORIES= emulators MASTER_SITES= https://download.virtualbox.org/virtualbox/${PORTVERSION}/ PKGNAMESUFFIX= -kmod Index: emulators/virtualbox-ose-kmod/distinfo =================================================================== --- emulators/virtualbox-ose-kmod/distinfo +++ emulators/virtualbox-ose-kmod/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1619727799 -SHA256 (VirtualBox-6.1.22.tar.bz2) = 99816d2a15205d49362a31e8ffeb8262d2fa0678c751dfd0a7c43b2faca8be49 -SIZE (VirtualBox-6.1.22.tar.bz2) = 165560989 +TIMESTAMP = 1626813085 +SHA256 (VirtualBox-6.1.24.tar.bz2) = 3bd7ca9df231418008823e752b046e316843e896b4e608c763302c86146e6966 +SIZE (VirtualBox-6.1.24.tar.bz2) = 165754851 Index: emulators/virtualbox-ose/Makefile =================================================================== --- emulators/virtualbox-ose/Makefile +++ emulators/virtualbox-ose/Makefile @@ -1,8 +1,7 @@ # Created by: Bernhard Froehlich PORTNAME= virtualbox-ose -PORTVERSION= 6.1.22 -PORTREVISION= 1 +PORTVERSION= 6.1.24 CATEGORIES= emulators MASTER_SITES= https://download.virtualbox.org/virtualbox/${PORTVERSION}/ DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} ${GUESTADDITIONS} Index: emulators/virtualbox-ose/distinfo =================================================================== --- emulators/virtualbox-ose/distinfo +++ emulators/virtualbox-ose/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1619728110 -SHA256 (VirtualBox-6.1.22.tar.bz2) = 99816d2a15205d49362a31e8ffeb8262d2fa0678c751dfd0a7c43b2faca8be49 -SIZE (VirtualBox-6.1.22.tar.bz2) = 165560989 -SHA256 (VBoxGuestAdditions_6.1.22.iso) = bffc316a7b8d5ed56d830e9f6aef02b4e5ffc28674032142e96ffbedd905f8c9 -SIZE (VBoxGuestAdditions_6.1.22.iso) = 61020160 +TIMESTAMP = 1626812298 +SHA256 (VirtualBox-6.1.24.tar.bz2) = 3bd7ca9df231418008823e752b046e316843e896b4e608c763302c86146e6966 +SIZE (VirtualBox-6.1.24.tar.bz2) = 165754851 +SHA256 (VBoxGuestAdditions_6.1.24.iso) = 57303e8b4d2e411cdd99dbc429eb32ea48998d2674264fc8dd75b89750011e59 +SIZE (VBoxGuestAdditions_6.1.24.iso) = 61081600 Index: emulators/virtualbox-ose/files/patch-configure =================================================================== --- emulators/virtualbox-ose/files/patch-configure +++ emulators/virtualbox-ose/files/patch-configure @@ -1,4 +1,4 @@ ---- configure.orig 2021-01-07 15:31:21 UTC +--- configure.orig 2021-07-16 11:48:05 UTC +++ configure @@ -140,10 +140,14 @@ CXX_FLAGS="" if [ "$OS" = "freebsd" ]; then @@ -24,18 +24,15 @@ test_execute fi } -@@ -1563,9 +1567,7 @@ EOF - if [ $? -eq 0 ]; then - echo "(Qt5 from pkg-config)" >> $LOG +@@ -1565,6 +1569,7 @@ EOF FLGQT5=`pkg-config Qt5Core --cflags` -- # gcc 4.8 is able to compile with C++11 (see also VBOX_GCC_std in Config.kmk) -- [ $cc_maj -eq 4 -a $cc_min -eq 8 ] && FLGQT5="$FLGQT5 -std=c++11" -- INCQT5=`strip_I "$FLGQT5"` -+ FLGQT5="$FLGQT5 -std=c++11" INCQT5=`strip_I "$FLGQT5"` + # gcc 4.8 is able to compile with C++11 (see also VBOX_GCC_std in Config.kmk) + [ $(($cc_maj * 100 + $cc_min)) -ge 408 ] && FLGQT5="$FLGQT5 -std=c++11" ++ FLGQT5="$FLGQT5 -std=c++11" + INCQT5=`strip_I "$FLGQT5"` LIBDIR5=`pkg-config Qt5Core --variable=libdir` LIBQT5=`pkg-config Qt5Core --libs` - LIBQT5="-L$LIBDIR5 $LIBQT5" -@@ -1703,7 +1705,7 @@ check_libopus() +@@ -1703,7 +1708,7 @@ check_libopus() fi cat > $ODIR.tmp_src.cc << EOF #include @@ -44,7 +41,7 @@ extern "C" int main(void) { OpusEncoder *test; -@@ -2035,8 +2037,8 @@ EOF +@@ -2035,8 +2040,8 @@ EOF echo "compiling the following source file:" >> $LOG cat $ODIR.tmp_src.cc >> $LOG echo "using the following command line:" >> $LOG @@ -55,7 +52,7 @@ if [ $? -eq 0 ]; then found=1 break -@@ -2512,7 +2514,7 @@ for option in "$@"; do +@@ -2512,7 +2517,7 @@ for option in "$@"; do --with-openssl-dir=*) OPENSSLDIR=`echo $option | cut -d'=' -f2` INCCRYPTO="-I${OPENSSLDIR}/include" @@ -64,7 +61,7 @@ ;; --with-ow-dir=*) WATCOM=`echo $option | cut -d'=' -f2` -@@ -2856,14 +2858,23 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then +@@ -2856,14 +2861,23 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then [ $WITH_PYTHON -eq 1 ] && check_python [ $WITH_JAVA -eq 1 ] && check_java @@ -96,7 +93,7 @@ fi # Linux-specific -@@ -2878,14 +2889,6 @@ if [ "$OS" = "linux" ]; then +@@ -2878,14 +2892,6 @@ if [ "$OS" = "linux" ]; then cnf_append "VBOX_WITHOUT_LINUX_TEST_BUILDS" "1" fi if [ $ONLY_ADDITIONS -eq 0 ]; then Index: emulators/virtualbox-ose/files/patch-src_VBox_Devices_Audio_DrvHostAudioAlsa.cpp =================================================================== --- emulators/virtualbox-ose/files/patch-src_VBox_Devices_Audio_DrvHostAudioAlsa.cpp +++ /dev/null @@ -1,18 +0,0 @@ ---- src/VBox/Devices/Audio/DrvHostAudioAlsa.cpp.orig 2021-04-20 04:27:52 UTC -+++ src/VBox/Devices/Audio/DrvHostAudioAlsa.cpp -@@ -833,6 +833,7 @@ static DECLCALLBACK(int) drvHostAlsaAudioHA_StreamPlay - continue; - } - -+#if EPIPE != ESTRPIPE - case -ESTRPIPE: - { - /* Stream was suspended and waiting for a recovery. */ -@@ -846,6 +847,7 @@ static DECLCALLBACK(int) drvHostAlsaAudioHA_StreamPlay - LogFlowFunc(("Resumed suspended output stream\n")); - continue; - } -+#endif - - default: - LogFlowFunc(("Failed to write %RU32 bytes, error unknown\n", cbToWrite)); Index: emulators/virtualbox-ose/files/patch-src_VBox_Devices_Audio_DrvHostAudioOss.cpp =================================================================== --- emulators/virtualbox-ose/files/patch-src_VBox_Devices_Audio_DrvHostAudioOss.cpp +++ /dev/null @@ -1,31 +0,0 @@ ---- src/VBox/Devices/Audio/DrvHostAudioOss.cpp.orig 2021-04-20 04:27:52 UTC -+++ src/VBox/Devices/Audio/DrvHostAudioOss.cpp -@@ -253,10 +253,11 @@ static int ossStreamOpen(const char *pszDev, int fOpen - - default: - rc = VERR_AUDIO_STREAM_COULD_NOT_CREATE; -+ iFormat = -1; - break; - } - -- if (RT_FAILURE(rc)) -+ if (RT_UNLIKELY(iFormat == -1)) - break; - - if (ioctl(fdFile, SNDCTL_DSP_SAMPLESIZE, &iFormat)) -@@ -664,6 +665,7 @@ static int ossCreateStreamIn(POSSAUDIOSTREAM pStreamOS - - pCfgAcq->Backend.cFramesPeriod = PDMAUDIOSTREAMCFG_B2F(pCfgAcq, ossAcq.cbFragmentSize); - pCfgAcq->Backend.cFramesBufferSize = pCfgAcq->Backend.cFramesPeriod * 2; /* Use "double buffering". */ -+ pCfgAcq->Backend.cFramesPreBuffering = pCfgAcq->Backend.cFramesBufferSize; - /** @todo Pre-buffering required? */ - } - } -@@ -782,6 +784,7 @@ static int ossCreateStreamOut(POSSAUDIOSTREAM pStreamO - #endif - pCfgAcq->Backend.cFramesPeriod = PDMAUDIOSTREAMCFG_B2F(pCfgAcq, obtStream.cbFragmentSize); - pCfgAcq->Backend.cFramesBufferSize = pCfgAcq->Backend.cFramesPeriod * 2; /* Use "double buffering" */ -+ pCfgAcq->Backend.cFramesPreBuffering = pCfgAcq->Backend.cFramesBufferSize; - } - - } while (0);