svn commit: r569604 - head/emulators/virtualbox-ose

Guido Falsi madpilot at FreeBSD.org
Tue Mar 30 21:30:32 UTC 2021


Author: madpilot
Date: Tue Mar 30 21:30:31 2021
New Revision: 569604
URL: https://svnweb.freebsd.org/changeset/ports/569604

Log:
  Reimplement patch to disable Asyncronous IO in virtualbox-ose 6 as
  an option, leaving AIO enabled by default, so no functional change
  in default build.
  
  Requested/Suggested by:	David G Lawrence <dg at dglawrence.com>

Modified:
  head/emulators/virtualbox-ose/Makefile

Modified: head/emulators/virtualbox-ose/Makefile
==============================================================================
--- head/emulators/virtualbox-ose/Makefile	Tue Mar 30 21:28:15 2021	(r569603)
+++ head/emulators/virtualbox-ose/Makefile	Tue Mar 30 21:30:31 2021	(r569604)
@@ -53,11 +53,12 @@ VBOX_PROGS=	VBoxAutostart VBoxBalloonCtrl VBoxBugRepor
 VBOX_UTILS=	VBoxExtPackHelperApp VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT \
 		VBoxSVC VBoxXPCOMIPCD
 
-OPTIONS_DEFINE=	ALSA DBUS DEBUG GUESTADDITIONS MANUAL NLS OPUS PULSEAUDIO \
+OPTIONS_DEFINE=	AIO ALSA DBUS DEBUG GUESTADDITIONS MANUAL NLS OPUS PULSEAUDIO \
 		PYTHON QT5 R0LOGGING UDPTUNNEL VDE VNC WEBSERVICE VPX X11
-OPTIONS_DEFAULT=	DBUS QT5 UDPTUNNEL VNC WEBSERVICE X11
+OPTIONS_DEFAULT=	AIO DBUS QT5 UDPTUNNEL VNC WEBSERVICE X11
 OPTIONS_SUB=	yes
 
+AIO_DESC=	Enable Asyncronous IO support (check pkg-message)
 DEBUG_DESC=	Debug symbols, additional logs and assertions
 GUESTADDITIONS_DESC=	Build with Guest Additions
 MANUAL_DESC=	Build with user manual
@@ -322,6 +323,10 @@ post-patch:
 	@${REINPLACE_CMD} \
 	    -e 's|^versions =.*|versions = ["${PYTHON_VER}${PYTHON_ABIVER}"]|' \
 	    ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py
+
+post-patch-AIO-off:
+	@${REINPLACE_CMD} 's|r3/freebsd/fileaio-freebsd.cpp|r3/posix/fileaio-posix.cpp|' \
+		${WRKSRC}/src/VBox/Runtime/Makefile.kmk
 
 do-build:
 	cd ${WRKSRC} && ${SH} -c '. ${WRKSRC}/env.sh && \


More information about the svn-ports-head mailing list