aboutsummaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose-72
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/virtualbox-ose-72')
-rw-r--r--emulators/virtualbox-ose-72/Makefile22
-rw-r--r--emulators/virtualbox-ose-72/distinfo14
-rw-r--r--emulators/virtualbox-ose-72/files/patch-Config.kmk71
-rw-r--r--emulators/virtualbox-ose-72/files/patch-configure9
-rw-r--r--emulators/virtualbox-ose-72/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c4
-rw-r--r--emulators/virtualbox-ose-72/files/patch-src_VBox_Devices_Makefile.kmk15
-rw-r--r--emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxManager.cpp46
-rw-r--r--emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxManager.h20
-rw-r--r--emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxWidget.cpp24
9 files changed, 75 insertions, 150 deletions
diff --git a/emulators/virtualbox-ose-72/Makefile b/emulators/virtualbox-ose-72/Makefile
index 3110b3efe1aa..f003955ce5e6 100644
--- a/emulators/virtualbox-ose-72/Makefile
+++ b/emulators/virtualbox-ose-72/Makefile
@@ -1,6 +1,6 @@
PORTNAME= virtualbox-ose
-DISTVERSION= 7.2.0
-PORTREVISION?= 0
+DISTVERSION= 7.2.2
+PORTREVISION?= 1
CATEGORIES= emulators
MASTER_SITES= https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \
LOCAL/vvd:docs
@@ -22,6 +22,7 @@ ONLY_FOR_ARCHS= amd64
BUILD_DEPENDS= gtar:archivers/gtar \
kmk:devel/kBuild \
yasm:devel/yasm \
+ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \
xsltproc:textproc/libxslt
LIB_DEPENDS= libpng.so:graphics/png \
libcurl.so:ftp/curl
@@ -78,10 +79,10 @@ PLIST_SUB= GUEST_VER=${DISTVERSION} \
SLAVE_PORT?= no
-OPTIONS_DEFINE= AIO ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS OGG PULSEAUDIO \
- PYTHON QT6 R0LOGGING UDPTUNNEL VBOXIMG VDE VNC VORBIS VPX \
- WEBSERVICE X11
-OPTIONS_DEFAULT= AIO DBUS QT6 UDPTUNNEL VNC WEBSERVICE X11
+OPTIONS_DEFINE= AIO ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS OGG \
+ PULSEAUDIO PYTHON QT6 R0LOGGING TPM UDPTUNNEL VBOXIMG \
+ VDE VNC VORBIS VPX WEBSERVICE X11
+OPTIONS_DEFAULT= AIO DBUS QT6 TPM UDPTUNNEL VNC WEBSERVICE X11
.if ${SLAVE_PORT} == no
OPTIONS_DEFAULT+= PYTHON
.endif
@@ -95,8 +96,9 @@ DEBUG_DESC= Debug symbols, additional logs and assertions
GUESTADDITIONS_DESC= Build with Guest Additions
NLS_DESC= Native language support (requires QT6)
OGG_DESC= Use libogg from audio/libogg instead of bundled one
-QT6_DESC= Build with QT6 frontend (requires X11)
+QT6_DESC= Build with Qt6 frontend (requires X11)
R0LOGGING_DESC= Enable R0 logging (requires DEBUG)
+TPM_DESC= Enable TPM device emulation using sysutils/libtpms
UDPTUNNEL_DESC= Build with UDP tunnel support
VBOXIMG_DESC= Build vboximg-mount (requires fuse-libs)
VDE_DESC= Build with VDE support
@@ -121,11 +123,13 @@ PYTHON_USE= PYTHON=distutils,noegginfo,noflavors
PYTHON_CONFIGURE_OFF= --disable-python
PYTHON_VARS= pydistutils_pkgname=vboxapi pydistutils_pkgversion=1.0
QT6_IMPLIES= X11
-QT6_USES= gl qmake:no_env qt:6 xorg
+QT6_USES= gl qmake:no_env xorg
QT6_USE= QT=base,scxml,tools,translations \
XORG=xcb GL=gl
QT6_CONFIGURE_OFF= --disable-qt
R0LOGGING_IMPLIES= DEBUG
+TPM_LIB_DEPENDS= libtpms.so:sysutils/libtpms
+TPM_CONFIGURE_OFF= --disable-libtpms
UDPTUNNEL_CONFIGURE_OFF= --disable-udptunnel
VBOXIMG_LIB_DEPENDS= libfuse.so.2:filesystems/fusefs-libs
VDE_RUN_DEPENDS= vde_switch:net/vde2
@@ -317,6 +321,8 @@ post-patch:
@${REINPLACE_CMD} \
-e 's|^versions =.*|versions = ["${PYTHON_VER}${PYTHON_ABIVER}"]|' \
${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py
+ @${REINPLACE_CMD} -e 's|curl_proxytype|long|g' \
+ ${WRKSRC}/src/VBox/Runtime/generic/http-curl.cpp
post-patch-AIO-off:
@${REINPLACE_CMD} 's|r3/freebsd/fileaio-freebsd.cpp|r3/posix/fileaio-posix.cpp|' \
diff --git a/emulators/virtualbox-ose-72/distinfo b/emulators/virtualbox-ose-72/distinfo
index ed4ac420cdd3..48ed99a441f9 100644
--- a/emulators/virtualbox-ose-72/distinfo
+++ b/emulators/virtualbox-ose-72/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1756400000
-SHA256 (VirtualBox-7.2.0.tar.bz2) = 4f2804ff27848ea772aee6b637bb1e10ee74ec2da117c257413e2d2c4f670ba0
-SIZE (VirtualBox-7.2.0.tar.bz2) = 206755781
-SHA256 (VirtualBox-docs-7.2.0.tar.bz2) = 12b27989f2ab9b9316384322a8f1cdadd7003d2e2d6592298e1a84e81f5e0572
-SIZE (VirtualBox-docs-7.2.0.tar.bz2) = 9200668
-SHA256 (VBoxGuestAdditions_7.2.0.iso) = 43f7a1045cad0aab40e3af906fea37244ba6873b91b4e227245a14e51b399abd
-SIZE (VBoxGuestAdditions_7.2.0.iso) = 53143552
+TIMESTAMP = 1759400000
+SHA256 (VirtualBox-7.2.2.tar.bz2) = b0e63bfb855327aecf1122cda33390c33734e5ffed72f123f5edf786a8ce1393
+SIZE (VirtualBox-7.2.2.tar.bz2) = 206992991
+SHA256 (VirtualBox-docs-7.2.2.tar.bz2) = 5784f7ccb0cd28f1e4647771301c51cbd2427ec84e071d3dd92c9f0e12690f8c
+SIZE (VirtualBox-docs-7.2.2.tar.bz2) = 9134609
+SHA256 (VBoxGuestAdditions_7.2.2.iso) = 42457487fb5f117265fe41bf8b2a521449c2cff75c95029d8f667f7dab5a4409
+SIZE (VBoxGuestAdditions_7.2.2.iso) = 53135360
diff --git a/emulators/virtualbox-ose-72/files/patch-Config.kmk b/emulators/virtualbox-ose-72/files/patch-Config.kmk
index c284262eb189..d0e23bd4f3df 100644
--- a/emulators/virtualbox-ose-72/files/patch-Config.kmk
+++ b/emulators/virtualbox-ose-72/files/patch-Config.kmk
@@ -1,4 +1,4 @@
---- Config.kmk.orig 2025-08-28 22:09:24 UTC
+--- Config.kmk.orig 2025-10-02 22:45:13 UTC
+++ Config.kmk
@@ -624,11 +624,11 @@ endif
# Enable OSS audio support.
@@ -37,6 +37,15 @@
VBOX_WITH_VMSVGA3D = 1
endif
# Enable vmsvga (svga2) graphics device variant, 3D part, VGPU10 DX commands
+@@ -788,7 +788,7 @@ VBOX_WITH_TPM = 1
+ # Enable TPM device emulation support.
+ VBOX_WITH_TPM = 1
+ # Enable libtpms, required for the in process TPM emulation.
+-if1of ($(KBUILD_TARGET), linux darwin win solaris)
++if1of ($(KBUILD_TARGET), freebsd linux darwin win solaris)
+ VBOX_WITH_LIBTPMS = 1
+ endif
+ # Disable keyboard HID Consumer/Desktop control keys passthrough
@@ -847,7 +847,7 @@ VBOX_WITH_VBOXMANAGE_NLS = 1
#endif
# Set this to prefix all C symbols in XPCOM, to avoid dynamic linking problems
@@ -57,7 +66,7 @@
ifeq ($(KBUILD_TARGET),haiku)
VBOX_WITH_VRDP_RDESKTOP =
# Permanent (no working SDL).
-@@ -1563,7 +1559,7 @@ ifdef VBOX_OSE
+@@ -1562,7 +1558,7 @@ ifdef VBOX_OSE
# not yet
VBOX_WITH_PLUGIN_CRYPT =
VBOX_WITH_DRAG_AND_DROP_PROMISES =
@@ -66,7 +75,7 @@
VBOX_WITH_DOCS =
VBOX_WITH_DOCS_PACKING =
endif
-@@ -3637,19 +3633,19 @@ ifndef VBOX_GCC_std
+@@ -3636,19 +3632,19 @@ ifndef VBOX_GCC_std
#
## @todo consider maxing this out.
ifndef VBOX_GCC_std
@@ -98,7 +107,7 @@
endif
ifndef VBOX_VCC_std
if $(VBOX_VCC_TOOL_STEM) >= VCC141 # since 2017 15.3
-@@ -5688,11 +5684,11 @@ ifeq ($(VBOX_LDR_FMT),elf)
+@@ -5687,11 +5683,11 @@ ifeq ($(VBOX_LDR_FMT),elf)
# Solaris driver signing.
TEMPLATE_VBoxR0_POST_CMDS = $(VBOX_SIGN_DRIVER_CMDS)
else
@@ -112,7 +121,7 @@
VBOX_WITH_VBOXR0_AS_DLL = 1
TEMPLATE_VBoxR0_DLLSUFF = .r0
TEMPLATE_VBoxR0_CFLAGS += -fPIC
-@@ -5703,7 +5699,7 @@ ifeq ($(VBOX_LDR_FMT),elf)
+@@ -5702,7 +5698,7 @@ ifeq ($(VBOX_LDR_FMT),elf)
else
TEMPLATE_VBoxR0_CFLAGS.amd64 += -mcmodel=kernel
TEMPLATE_VBoxR0_CXXFLAGS.amd64 += -mcmodel=kernel
@@ -121,7 +130,7 @@
ifdef VBOX_WITH_KMOD_WRAPPED_R0_MODS # For BTF/pahold issue we use -g1
TEMPLATE_VBoxR0_DEFS += VBOX_WITH_KMOD_WRAPPED_R0_MODS
TEMPLATE_VBoxR0_LDFLAGS.linux += $(PATH_ROOT)/src/VBox/HostDrivers/Support/linux/VBoxR0-wrapped.lds
-@@ -6100,7 +6096,7 @@ ifeq ($(KBUILD_TARGET),freebsd)
+@@ -6099,7 +6095,7 @@ ifeq ($(KBUILD_TARGET),freebsd)
# x86 FreeBSD (6.2 or something):
# cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE \
# -nostdinc -I- -I. -I@ -I@/contrib/altq -I@/../include -I/usr/include \
@@ -130,7 +139,7 @@
# -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs \
# -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions \
# -std=c99 -c ../my.c
-@@ -6111,7 +6107,7 @@ ifeq ($(KBUILD_TARGET),freebsd)
+@@ -6110,7 +6106,7 @@ ifeq ($(KBUILD_TARGET),freebsd)
#
# AMD64 FreeBSD (7.1):
# cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I. -I@ -I@/contrib/altq \
@@ -139,7 +148,7 @@
# -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx \
# -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding \
# -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign \
-@@ -6193,7 +6189,7 @@ ifeq ($(KBUILD_TARGET),freebsd)
+@@ -6192,7 +6188,7 @@ ifeq ($(KBUILD_TARGET),freebsd)
| xargs -J% objcopy % $(outbase).kld
# Link the final .ko (a shared object).
@@ -148,7 +157,7 @@
endef
endif # x86
-@@ -6228,7 +6224,7 @@ ifeq ($(KBUILD_TARGET),netbsd)
+@@ -6227,7 +6223,7 @@ ifeq ($(KBUILD_TARGET),netbsd)
$(VBOX_GCC_fdiagnostics-show-option) $(VBOX_GCC_fdiagnostics-color) \
-Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes \
-Wimplicit-function-declaration -Werror-implicit-function-declaration \
@@ -157,7 +166,7 @@
$(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
-nostdinc -std=c99 -msoft-float
TEMPLATE_VBoxR0Drv_CFLAGS.x86 = -m32 -mno-mmx -mno-sse -mno-avx \
-@@ -6239,7 +6235,7 @@ ifeq ($(KBUILD_TARGET),netbsd)
+@@ -6238,7 +6234,7 @@ ifeq ($(KBUILD_TARGET),netbsd)
-fno-asynchronous-unwind-tables -mno-fp-ret-in-387
TEMPLATE_VBoxR0Drv_CXXFLAGS = -fno-exceptions -fno-rtti \
$(VBOX_GCC_WARN) -Wpointer-arith -Winline \
@@ -166,7 +175,7 @@
$(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
-nostdinc -msoft-float
TEMPLATE_VBoxR0Drv_CXXFLAGS.x86 = $(TEMPLATE_VBoxR0Drv_CFLAGS.x86)
-@@ -6565,11 +6561,11 @@ else # the gcc guys
+@@ -6562,11 +6558,11 @@ else # the gcc guys
TEMPLATE_VBoxR3Exe_LATE_LIBS = pthread m rt dl
else ifeq ($(KBUILD_TARGET),os2)
TEMPLATE_VBoxR3Exe_TOOL = GXX3OMF
@@ -180,7 +189,7 @@
TEMPLATE_VBoxR3Exe_SDKS.darwin = $(VBOX_DARWIN_DEF_SDK_SDKS)
TEMPLATE_VBoxR3Exe_DEFS.darwin = $(VBOX_DARWIN_DEF_SDK_DEFS)
TEMPLATE_VBoxR3Exe_CFLAGS.darwin = $(VBOX_DARWIN_DEF_SDK_CFLAGS) -fno-common
-@@ -6585,24 +6581,29 @@ else # the gcc guys
+@@ -6582,24 +6578,29 @@ else # the gcc guys
else ifeq ($(KBUILD_TARGET),haiku)
TEMPLATE_VBoxR3Exe_TOOL = GXX3
TEMPLATE_VBoxR3Exe_POST_CMDS = $(VBOX_HAIKU_XRES_SETVER_CMDS)
@@ -216,7 +225,7 @@
else ifeq ($(KBUILD_TARGET),netbsd)
TEMPLATE_VBoxR3Exe_TOOL = GXX3
TEMPLATE_VBoxR3Exe_LATE_LIBS = pthread
-@@ -6614,7 +6615,7 @@ else # the gcc guys
+@@ -6611,7 +6612,7 @@ else # the gcc guys
/usr/X11R7/lib
else ifeq ($(KBUILD_TARGET),solaris)
TEMPLATE_VBoxR3Exe_TOOL = GXX3PLAIN
@@ -225,7 +234,7 @@
if $(VBOX_GCC_VERSION_CC) < 30500
TEMPLATE_VBoxR3Exe_CFLAGS += -std=gnu99
endif
-@@ -6630,6 +6631,7 @@ else # the gcc guys
+@@ -6627,6 +6628,7 @@ else # the gcc guys
TEMPLATE_VBoxR3Exe_LDFLAGS += '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RELATIVE_RUNPATH)'
endif
ifdef VBOX_WITH_ORIGIN
@@ -233,7 +242,7 @@
TEMPLATE_VBoxR3Exe_LDFLAGS.linux += $(VBOX_GCC_ORIGIN_OPT)
endif
endif
-@@ -6868,7 +6870,7 @@ else
+@@ -6865,7 +6867,7 @@ else
ifdef VBOX_WITH_NOCRT_STATIC
TEMPLATE_VBoxR3StaticBase_DEFS += RT_WITH_NOCRT_WRAPPERS
endif
@@ -242,7 +251,7 @@
# The gcc guys sans darwin, linux and solaris (don't depend on statically compiled system libs there)
TEMPLATE_VBoxR3StaticBase_CFLAGS = $(TEMPLATE_VBoxR3Exe_CFLAGS) -static
TEMPLATE_VBoxR3StaticBase_CXXFLAGS = $(TEMPLATE_VBoxR3Exe_CXXFLAGS) -static
-@@ -6936,7 +6938,7 @@ else
+@@ -6933,7 +6935,7 @@ else
$(SDK_VBoxZlib_LATE_LIBS) \
$(SDK_VBoxLibLzma_LIBS)
if1of ($(KBUILD_TARGET), darwin freebsd)
@@ -251,7 +260,7 @@
else ifeq ($(KBUILD_TARGET),solaris)
TEMPLATE_VBoxR3Static_LATE_LIBS += kstat
endif
-@@ -7137,6 +7139,7 @@ else ifn1of ($(KBUILD_TARGET), os2)
+@@ -7134,6 +7136,7 @@ else ifn1of ($(KBUILD_TARGET), os2)
else ifn1of ($(KBUILD_TARGET), os2)
ifneq ($(KBUILD_TYPE),asan) # Keep RPATH in asan builds so we can find libasan.so.X and libubsan.so.Y.
TEMPLATE_VBoxR3HardenedExe_LDFLAGS = $(filter-out '$(VBOX_GCC_RPATH_OPT)%,$(TEMPLATE_VBoxR3Exe_LDFLAGS))
@@ -259,7 +268,7 @@
TEMPLATE_VBoxR3HardenedExe_LDFLAGS.linux = $(filter-out $(VBOX_GCC_ORIGIN_OPT),$(TEMPLATE_VBoxR3Exe_LDFLAGS.linux))
endif
endif
-@@ -7168,6 +7171,7 @@ ifn1of ($(KBUILD_TARGET), win os2)
+@@ -7166,6 +7169,7 @@ ifn1of ($(KBUILD_TARGET), win os2)
$(if-expr !defined(VBOX_WITHOUT_WINDOWS_KERNEL_CODE_SIGNING_CERT),-IntegrityCheck,)
ifn1of ($(KBUILD_TARGET), win os2)
TEMPLATE_VBoxR3HardenedTstDll_LDFLAGS = $(filter-out '$(VBOX_GCC_RPATH_OPT)%,$(TEMPLATE_VBoxR3TstDll_LDFLAGS))
@@ -267,7 +276,7 @@
TEMPLATE_VBoxR3HardenedTstDll_LDFLAGS.linux = $(filter-out $(VBOX_GCC_ORIGIN_OPT),$(TEMPLATE_VBoxR3TstDll_LDFLAGS.linux))
endif
-@@ -7192,6 +7196,7 @@ ifndef VBOX_WITH_HARDENING
+@@ -7190,6 +7194,7 @@ ifndef VBOX_WITH_HARDENING
TEMPLATE_VBoxR3SetUidToRoot_LDFLAGS += '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RELATIVE_RUNPATH)'
endif
ifdef VBOX_WITH_ORIGIN
@@ -275,7 +284,7 @@
TEMPLATE_VBoxR3SetUidToRoot_LDFLAGS.linux += $(VBOX_GCC_ORIGIN_OPT)
endif
endif
-@@ -7570,7 +7575,7 @@ else # the GCC guys:
+@@ -7567,7 +7572,7 @@ else # the GCC guys:
endif
TEMPLATE_VBoxMainExe_CXXFLAGS = -g $(VBOX_GCC_pipe) \
$(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_Wno-multistatement-macros) $(VBOX_GCC_Wno-class-memaccess) -Wshadow \
@@ -284,7 +293,7 @@
$(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_std) $(VBOX_GCC_IPRT_FMT_CHECK) \
$(VBOX_GCC_SANITIZER_FLAGS)
if !defined("VBOX_GCC_Wno-delete-non-virtual-dtor") && defined("VBOX_GCC_Wno-non-virtual-dtor")
-@@ -7633,10 +7638,19 @@ else # the GCC guys:
+@@ -7630,10 +7635,19 @@ else # the GCC guys:
else ifeq ($(KBUILD_TARGET),haiku)
TEMPLATE_VBoxMainExe_TOOL = GXX3
TEMPLATE_VBoxMainExe_LATE_LIBS = $(LIB_RUNTIME) network stdc++ supc++
@@ -305,7 +314,7 @@
/usr/include \
/usr/X11R6/include \
/usr/local/include
-@@ -7668,6 +7682,7 @@ else # the GCC guys:
+@@ -7665,6 +7679,7 @@ else # the GCC guys:
TEMPLATE_VBoxMainExe_LDFLAGS += '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RELATIVE_RUNPATH)'
endif
ifdef VBOX_WITH_ORIGIN
@@ -313,7 +322,7 @@
TEMPLATE_VBoxMainExe_LDFLAGS.linux += $(VBOX_GCC_ORIGIN_OPT)
endif
-@@ -8352,14 +8367,13 @@ ifdef VBOX_WITH_QTGUI
+@@ -8350,14 +8365,13 @@ ifdef VBOX_WITH_QTGUI
TEMPLATE_VBoxQtGuiExe_LIBPATH += \
$(VBOX_LIBPATH_X11)
ifeq ($(KBUILD_TARGET),freebsd)
@@ -331,7 +340,7 @@
endif
ifeq ($(KBUILD_TARGET),solaris)
TEMPLATE_VBoxQtGuiExe_LDFLAGS.solaris = -Wl,-z,ignore # Same as VBOX_LD_as_needed.
-@@ -8623,7 +8637,7 @@ else
+@@ -8621,7 +8635,7 @@ else
TEMPLATE_VBoxBldProg_LATE_LIBS = pthread m rt dl
else ifeq ($(KBUILD_HOST),os2)
TEMPLATE_VBoxBldProg_TOOL = GXX3OMF
@@ -340,7 +349,7 @@
else ifeq ($(KBUILD_HOST),darwin)
TEMPLATE_VBoxBldProg_TOOL = $(VBOX_GCC_TOOL)
if "$(VBOX_DEF_MACOSX_VERSION_MIN)" == "10.7" || "$(VBOX_DARWIN_HOST_VERSION_MAJOR)" == "7"
-@@ -8663,13 +8677,20 @@ else
+@@ -8661,13 +8675,20 @@ else
TEMPLATE_VBoxBldProg_LATE_LIBS =
else ifeq ($(KBUILD_HOST),haiku)
TEMPLATE_VBoxBldProg_TOOL = GXX3
@@ -363,7 +372,7 @@
/usr/include \
/usr/X11R6/include \
/usr/local/include
-@@ -8716,11 +8737,11 @@ TEMPLATE_VBoxAdvBldProg_LATE_LIBS.darwin = \
+@@ -8714,11 +8735,11 @@ TEMPLATE_VBoxAdvBldProg_LATE_LIBS.darwin = \
$(TEMPLATE_VBoxBldProg_LATE_LIBS)
TEMPLATE_VBoxAdvBldProg_LATE_LIBS.darwin = \
$(TEMPLATE_VBoxAdvBldProg_LATE_LIBS) \
@@ -377,7 +386,7 @@
rt \
$(TEMPLATE_VBoxBldProg_LATE_LIBS.freebsd)
TEMPLATE_VBoxAdvBldProg_LATE_LIBS.linux = \
-@@ -8813,6 +8834,7 @@ else # the gcc guys
+@@ -8811,6 +8832,7 @@ else # the gcc guys
# Do not inherit sanitizer flags from VBoxR3Exe in guest executables. Deal with them separately.
TEMPLATE_VBoxGuestR3ExeBase_CXXFLAGS.debug = $(NO_SUCH_VARIABLE)
TEMPLATE_VBoxGuestR3ExeBase_CFLAGS.debug = $(NO_SUCH_VARIABLE)
@@ -385,7 +394,7 @@
TEMPLATE_VBoxGuestR3ExeBase_LDFLAGS.linux = $(filter-out $(VBOX_GCC_ORIGIN_OPT),$(TEMPLATE_$(TEMPLATE_VBoxGuestR3ExeBase_EXTENDS)_LDFLAGS.linux))
TEMPLATE_VBoxGuestR3ExeBase_LDFLAGS.debug = $(NO_SUCH_VARIABLE)
TEMPLATE_VBoxGuestR3ExeBase_LDFLAGS = $(filter-out '$(VBOX_GCC_RPATH_OPT)%,$(TEMPLATE_$(TEMPLATE_VBoxGuestR3ExeBase_EXTENDS)_LDFLAGS))
-@@ -8836,7 +8858,7 @@ else if1of ($(KBUILD_TARGET), darwin freebsd openbsd)
+@@ -8834,7 +8856,7 @@ else if1of ($(KBUILD_TARGET), darwin freebsd openbsd)
ifeq ($(KBUILD_TARGET),linux) # As few libs as possible on linux.
TEMPLATE_VBoxGuestR3ExeBase_LATE_LIBS = pthread rt m dl
else if1of ($(KBUILD_TARGET), darwin freebsd openbsd)
@@ -394,7 +403,7 @@
else ifeq ($(KBUILD_TARGET),solaris)
TEMPLATE_VBoxGuestR3ExeBase_LATE_LIBS = $(TEMPLATE_$(TEMPLATE_VBoxGuestR3ExeBase_EXTENDS)_LATE_LIBS) nsl
endif
-@@ -8849,6 +8871,7 @@ TEMPLATE_VBoxGuestR3ExeBase_CFLAGS.linux = $(TEMP
+@@ -8847,6 +8869,7 @@ TEMPLATE_VBoxGuestR3ExeBase_CFLAGS.linux = $(TEMP
$(VBOX_GCC_fno-stack-protector)
TEMPLATE_VBoxGuestR3ExeBase_CFLAGS.linux = $(TEMPLATE_VBoxGuestR3ExeBase_CXXFLAGS.linux)
# The GNU_HASH ELF tag is not supported by older systems.
@@ -402,7 +411,7 @@
TEMPLATE_VBoxGuestR3ExeBase_LDFLAGS.linux += $(VBOX_LD_hash_style_sysv)
-@@ -9085,6 +9108,7 @@ TEMPLATE_VBoxGuestR3XFree86Mod_LDFLAGS.$(KBUILD_TARGET
+@@ -9083,6 +9106,7 @@ TEMPLATE_VBoxGuestR3XFree86Mod_LDFLAGS.$(KBUILD_TARGET
TEMPLATE_VBoxGuestR3XFree86Mod_CXXFLAGS.linux = $(VBOX_GCC_fno-stack-protector) # Remove symvers.h
TEMPLATE_VBoxGuestR3XFree86Mod_LDFLAGS.$(KBUILD_TARGET) = $(NO_SUCH_VARIABLE)
# The GNU_HASH ELF tag is not supported by older glibc dynamic linkers.
@@ -410,7 +419,7 @@
TEMPLATE_VBoxGuestR3XFree86Mod_LDFLAGS.linux = $(subst -Wl$(COMMA),,$(VBOX_LD_hash_style_sysv))
TEMPLATE_VBoxGuestR3XFree86Mod_LDFLAGS.$(KBUILD_TYPE) = $(NO_SUCH_VARIABLE)
TEMPLATE_VBoxGuestR3XFree86Mod_LDFLAGS := -r
-@@ -9128,7 +9152,7 @@ TEMPLATE_VBoxGuestR3XOrgMod_LATE_LIBS.$(KBUILD_TARGET)
+@@ -9126,7 +9150,7 @@ TEMPLATE_VBoxGuestR3XOrgMod_LATE_LIBS.$(KBUILD_TARGET)
TEMPLATE_VBoxGuestR3XOrgMod_LATE_LIBS = $(VBOX_LIB_VBGL_R3_XORG)
TEMPLATE_VBoxGuestR3XOrgMod_LATE_LIBS.$(KBUILD_TYPE) = $(NO_SUCH_VARIABLE)
TEMPLATE_VBoxGuestR3XOrgMod_LATE_LIBS.$(KBUILD_TARGET) = $(NO_SUCH_VARIABLE)
diff --git a/emulators/virtualbox-ose-72/files/patch-configure b/emulators/virtualbox-ose-72/files/patch-configure
index 76ed44e26acf..6e5b1f151854 100644
--- a/emulators/virtualbox-ose-72/files/patch-configure
+++ b/emulators/virtualbox-ose-72/files/patch-configure
@@ -42,15 +42,6 @@
else
log_failure "Qt6 framework not found (can be disabled using --disable-qt)"
fail
-@@ -1897,7 +1905,7 @@ EOF
- return 0;
- }
- EOF
-- [ -n "$INCOGG" ] && I_INCVRB=`prefix_I "$INCOGG"`
-+ [ -n "$INCOGG" ] && I_INCOGG=`prefix_I "$INCOGG"`
- if test_compile "$LIBOGG $I_INCOGG" ogg ogg nofatal; then
- if test_execute; then
- cnf_append "SDK_VBoxLibOgg_INCS" "$INCOGG"
@@ -2125,8 +2133,8 @@ EOF
echo "compiling the following source file:" >> $LOG
cat $ODIR.tmp_src.cc >> $LOG
diff --git a/emulators/virtualbox-ose-72/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c b/emulators/virtualbox-ose-72/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c
index 90a799eef1db..2fda0de98007 100644
--- a/emulators/virtualbox-ose-72/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c
+++ b/emulators/virtualbox-ose-72/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c
@@ -1382,7 +1382,7 @@
+ int lkflags = cnp->cn_lkflags;
+ char *fullpath = NULL;
+
-+ *vpp = NULLVP;
++ *vpp = NULL;
+ error = ENOENT;
+ if (cnp->cn_flags & ISDOTDOT) {
+ error = vn_vget_ino_gen(dvp, vboxfs_vn_get_ino_alloc,
@@ -1392,7 +1392,7 @@
+ goto out;
+
+ } else if (cnp->cn_namelen == 1 && cnp->cn_nameptr[0] == '.') {
-+ VREF(dvp);
++ vref(dvp);
+ *vpp = dvp;
+ error = 0;
+ } else {
diff --git a/emulators/virtualbox-ose-72/files/patch-src_VBox_Devices_Makefile.kmk b/emulators/virtualbox-ose-72/files/patch-src_VBox_Devices_Makefile.kmk
index b66a828f5eb2..cc93f6379cbc 100644
--- a/emulators/virtualbox-ose-72/files/patch-src_VBox_Devices_Makefile.kmk
+++ b/emulators/virtualbox-ose-72/files/patch-src_VBox_Devices_Makefile.kmk
@@ -1,4 +1,4 @@
---- src/VBox/Devices/Makefile.kmk.orig 2025-08-13 19:48:02 UTC
+--- src/VBox/Devices/Makefile.kmk.orig 2025-09-10 16:59:18 UTC
+++ src/VBox/Devices/Makefile.kmk
@@ -135,6 +135,7 @@ if !defined(VBOX_ONLY_EXTPACKS)
VBoxDDU_LDFLAGS.darwin += -framework IOKit
@@ -29,11 +29,20 @@
Graphics/DevVGA-SVGA3d-glLdr.cpp
else
VBoxDD_LIBS.linux += X11 GL
-+ VBoxDD_LIBS.freebsd += X11 GL
++ VBoxDD_LIBS.freebsd += X11 GL
VBoxDD_LIBS.win += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
endif
VBoxDD_LDFLAGS.darwin += -framework OpenGL
-@@ -1523,6 +1526,8 @@ if defined(VBOX_WITH_VMSVGA3D) && !defined(VBOX_ONLY_E
+@@ -517,6 +520,8 @@ if !defined(VBOX_ONLY_EXTPACKS) && "$(intersects $(KBU
+ Video/JPEGEnc.cpp
+ VBoxDD_SOURCES.darwin += \
+ Video/HostWebcam-darwin.mm
++ VBoxDD_SOURCES.freebsd += \
++ Video/HostWebcam-v4l2.cpp
+ VBoxDD_SOURCES.linux += \
+ Video/HostWebcam-v4l2.cpp
+ VBoxDD_SOURCES.solaris += \
+@@ -1536,6 +1541,8 @@ if defined(VBOX_WITH_VMSVGA3D) && !defined(VBOX_ONLY_E
VBoxSVGA3D_INCS = $(VBOX_GRAPHICS_INCS)
VBoxSVGA3D_INCS.win := \
Graphics/shaderlib/libWineStub/include
diff --git a/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxManager.cpp b/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxManager.cpp
deleted file mode 100644
index 7f18eb80356b..000000000000
--- a/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxManager.cpp
+++ /dev/null
@@ -1,46 +0,0 @@
---- src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp.orig 2025-08-13 19:50:55 UTC
-+++ src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
-@@ -2402,6 +2402,9 @@ void UIVirtualBoxManager::prepare()
- qApp->installEventFilter(this);
- #endif
-
-+ /* Prepare notification-center invisibvle way: */
-+ prepareNotificationCenter();
-+
- /* Cache media data early if necessary: */
- if (uiCommon().agressiveCaching())
- gpMediumEnumerator->enumerateMedia();
-@@ -2446,6 +2449,12 @@ void UIVirtualBoxManager::prepare()
- #endif /* VBOX_GUI_WITH_NETWORK_MANAGER && VBOX_WITH_UPDATE_REQUEST */
- }
-
-+void UIVirtualBoxManager::prepareNotificationCenter()
-+{
-+ UINotificationCenter::create();
-+
-+}
-+
- void UIVirtualBoxManager::prepareCloudMachineManager()
- {
- UICloudMachineManager::create();
-@@ -2805,6 +2814,12 @@ void UIVirtualBoxManager::cleanupCloudMachineManager()
- UICloudMachineManager::destroy();
- }
-
-+void UIVirtualBoxManager::cleanupNotificationCenter()
-+{
-+ UINotificationCenter::destroy();
-+
-+}
-+
- void UIVirtualBoxManager::cleanup()
- {
- /* Ask sub-dialogs to commit data: */
-@@ -2814,6 +2829,7 @@ void UIVirtualBoxManager::cleanup()
- cleanupWidgets();
- cleanupMenuBar();
- cleanupCloudMachineManager();
-+ cleanupNotificationCenter();
- }
-
- UIVirtualMachineItem *UIVirtualBoxManager::currentItem() const
diff --git a/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxManager.h b/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxManager.h
deleted file mode 100644
index 80daea0c318c..000000000000
--- a/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxManager.h
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.h.orig 2025-08-13 19:50:55 UTC
-+++ src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.h
-@@ -341,6 +341,8 @@ private slots: (private)
- * @{ */
- /** Prepares window. */
- void prepare();
-+ /** Prepares notification-center. */
-+ void prepareNotificationCenter();
- /** Prepares cloud machine manager. */
- void prepareCloudMachineManager();
- /** Prepares icon. */
-@@ -366,6 +368,8 @@ private slots: (private)
- void cleanupMenuBar();
- /** Cleanups cloud machine manager. */
- void cleanupCloudMachineManager();
-+ /** Cleanups notification-center. */
-+ void cleanupNotificationCenter();
- /** Cleanups window. */
- void cleanup();
- /** @} */
diff --git a/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxWidget.cpp b/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxWidget.cpp
deleted file mode 100644
index 52f736783c17..000000000000
--- a/emulators/virtualbox-ose-72/files/patch-src_VBox_Frontends_VirtualBox_src_manager_UIVirtualBoxWidget.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
---- src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxWidget.cpp.orig 2025-08-13 19:50:55 UTC
-+++ src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxWidget.cpp
-@@ -399,8 +399,8 @@ void UIVirtualBoxWidget::prepareWidgets()
- }
- }
-
-- /* Create notification-center: */
-- UINotificationCenter::create(this);
-+ /* Reparent notification-center: */
-+ gpNotificationCenter->setParent(this);
-
- /* Update toolbar finally: */
- updateToolbar();
-@@ -746,8 +746,8 @@ void UIVirtualBoxWidget::cleanup()
-
- void UIVirtualBoxWidget::cleanup()
- {
-- /* Destroy notification-center: */
-- UINotificationCenter::destroy();
-+ /* Reparent notification-center: */
-+ gpNotificationCenter->setParent(0);
- }
-
- UIGlobalToolsWidget *UIVirtualBoxWidget::globalToolsWidget() const