forked from pool/virtualbox
c3b92b1f7d
Thu July 19 15:24:39 UTC 2023 - Larry Rainey <llrainey15@gmail.com> - VirtualBox 7.0.10 (released July 18 2023) This is a maintenance release. The following items were fixed and/or added: OCI: Introduced general improvements VMM: Fixed a bug while walking page tables while executing nested VMs causing flooding of the release log as a consequence (Intel hosts only, bug #21551) GUI: Added general improvements TPM: Fixed a crash when a VM has a TPM version 1.2 configured (bug #21622) 3D: Initial support for OpenGL 4.1 3D: Fixed various graphics issues with Windows 11 guests (bugs #21136, #21515) Guest Control/VBoxManage: Fixed parameter "--ignore-orphaned-processes" Guest Control/VBoxManage: Fixed behavior of how handling argument 0 for a started guest process works: One can now explicitly specify it with the newly added option "--arg0". This will effectively restore the behavior of former VirtualBox versions Audio: Also use the PulseAudio backend when pipewire-pulse is running instead of falling back to ALSA (bug #21575) NAT: Adjusted UDP proxy timeout from 18-21 to 21-24 range to respect intended 20 second timeout (bug #21560) Linux Host: Added initial support for Indirect Branch Tracking (bug #21435) Linux Host: Added initial support for kernel 6.5 (NOTE: Guest Additions do not support kernel 6.5 yet) Linux Host and Guest: Improved condition check when kernel modules need to be signed Linux Host and Guest: Added initial support for RHEL 8.8 (bug #21692), 8.9 (bug #21690) and 9.3 (bugs #21598 and #21671) kernels Linux Guest Additions: Fixed issue when kernel modules were rebuilt on each boot when guest system has no X11 installed Linux Guest Additions: Added initial support for kernel 6.4 Linux Guest Additions: Fixed issue when vboxvideo module reloading caused kernel panic in some guests (bug #21740) Linux Guest Additions: Introduced general improvements in the installer area Windows Guest Additions: Introduced general improvements in graphics drivers area removed "fixes_for_kernel_6.4.patch" as this is fixed upstream Fix issue with kernel on newer CPU (boo#1212209) OBS-URL: https://build.opensuse.org/request/show/1099771 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=702
93 lines
3.1 KiB
Diff
93 lines
3.1 KiB
Diff
Index: VirtualBox-7.0.10/configure
|
|
===================================================================
|
|
--- VirtualBox-7.0.10.orig/configure
|
|
+++ VirtualBox-7.0.10/configure
|
|
@@ -1191,21 +1191,19 @@ check_sdl()
|
|
fail
|
|
fi
|
|
else
|
|
- if which_wrapper sdl-config > /dev/null; then
|
|
- FLGSDL=`sdl-config --cflags`
|
|
+ FLGSDL="-I/usr/include/SDL2 -D_GNU_SOURCE=1 -D_REENTRANT"
|
|
INCSDL=`strip_I "$FLGSDL"`
|
|
- LIBSDL=`sdl-config --libs`
|
|
+ LIBSDL="-L/usr/lib64 -LSDL2"
|
|
LIBSDLMAIN="-lSDLmain"
|
|
FLDSDL=
|
|
foundsdl=1
|
|
- fi
|
|
fi
|
|
[ "$OS" = "linux" -o "$OS" = "darwin" -o "$OS" = "solaris" ] && LIBSDLMAIN=""
|
|
if [ -n "$foundsdl" ]; then
|
|
cat > $ODIR.tmp_src.cc << EOF
|
|
#include <cstdio>
|
|
#include <SDL.h>
|
|
-#include <SDL_main.h>
|
|
+//#include <SDL_main.h>
|
|
#undef main
|
|
extern "C" int main(int argc, char** argv)
|
|
{
|
|
@@ -1221,7 +1219,7 @@ extern "C" int main(int argc, char** arg
|
|
}
|
|
EOF
|
|
[ -n "$INCSDL" ] && I_INCSDL=`prefix_I "$INCSDL"`
|
|
- if test_compile "$LIBSDL $LIBSDLMAIN $I_INCSDL $FLDSDL" SDL SDL; then
|
|
+ if test_compile "$LIBSDL $LIBSDLMAIN $I_INCSDL $FLDSDL" SDL2 SDL2; then
|
|
if test_execute; then
|
|
cnf_append "LIB_SDK_LIBSDL_SDL" "`strip_l "$LIBSDL"`"
|
|
cnf_append "SDK_LIBSDL_LIBPATH" "`strip_L "$LIBSDL"`"
|
|
@@ -3015,11 +3013,8 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then
|
|
[ $WITH_LIBLZMA -eq 1 ] && check_liblzma
|
|
[ "$OS" != "darwin" ] && check_png
|
|
[ $OSE -eq 0 -a "$OS" = "linux" ] && check_pam
|
|
- if [ $WITH_SDL -eq 1 ]; then
|
|
- check_sdl
|
|
- else
|
|
- cnf_append "VBOX_WITH_VBOXSDL" ""
|
|
- fi
|
|
+ check_sdl
|
|
+ cnf_append "VBOX_WITH_VBOXSDL" "1"
|
|
[ $WITH_SDL_TTF -eq 1 -a $OSE -eq 0 ] && check_sdl_ttf
|
|
[ $WITH_X11 -eq 1 ] && check_x
|
|
# TODO check for xcomposite-dev (X11/extensions/Xcomposite.h, additions only)
|
|
Index: VirtualBox-7.0.10/src/VBox/Frontends/VBoxSDL/Makefile.kmk
|
|
===================================================================
|
|
--- VirtualBox-7.0.10.orig/src/VBox/Frontends/VBoxSDL/Makefile.kmk
|
|
+++ VirtualBox-7.0.10/src/VBox/Frontends/VBoxSDL/Makefile.kmk
|
|
@@ -51,7 +51,7 @@ if !defined(VBOX_WITH_HARDENING) || "$(K
|
|
PROGRAMS += VBoxSDL
|
|
endif
|
|
VBoxSDL_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBoxMainClientDll,VBoxMainClientExe)
|
|
- VBoxSDL_SDKS = LIBSDL2
|
|
+ VBoxSDL_SDKS = LIBSDL
|
|
VBoxSDL_SOURCES = \
|
|
VBoxSDL.cpp \
|
|
Framebuffer.cpp \
|
|
@@ -81,7 +81,7 @@ if !defined(VBOX_WITH_HARDENING) || "$(K
|
|
endif
|
|
ifn1of ($(KBUILD_TARGET), solaris) # Probably wrong with SDL2
|
|
VBoxSDL_LIBS = \
|
|
- $(LIB_SDK_LIBSDL2_SDLMAIN)
|
|
+ $(LIB_SDK_LIBSDL_SDLMAIN)
|
|
endif
|
|
if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
|
|
VBoxSDL_LIBS += \
|
|
@@ -121,7 +121,7 @@ if !defined(VBOX_WITH_HARDENING) || "$(K
|
|
if 0
|
|
PROGRAMS += tstSDL
|
|
tstSDL_TEMPLATE = VBoxR3TstExe
|
|
- tstSDL_SDKS = LIBSDL2
|
|
+ tstSDL_SDKS = LIBSDL
|
|
tstSDL_INST = $(INST_TESTCASE)
|
|
tstSDL_SOURCES = \
|
|
VBoxSDLTest.cpp
|
|
@@ -138,7 +138,7 @@ if !defined(VBOX_WITH_HARDENING) || "$(K
|
|
$(LIB_RUNTIME)
|
|
ifn1of ($(KBUILD_TARGET), solaris)
|
|
tstSDL_LIBS += \
|
|
- $(LIB_SDK_LIBSDL2_SDLMAIN)
|
|
+ $(LIB_SDK_LIBSDL_SDLMAIN)
|
|
endif
|
|
|
|
ifdef VBOX_OPENGL
|