--- src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp.orig 2021-01-07 15:40:49 UTC +++ src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp @@ -153,7 +153,7 @@ enum MODIFYVM_UARTMODE, MODIFYVM_UARTTYPE, MODIFYVM_UART, -#if defined(RT_OS_LINUX) || defined(RT_OS_WINDOWS) +#if defined(RT_OS_FREEBSD) || defined(RT_OS_LINUX) || defined(RT_OS_WINDOWS) MODIFYVM_LPTMODE, MODIFYVM_LPT, #endif @@ -348,7 +348,7 @@ static const RTGETOPTDEF g_aModifyVMOptions[] = { "--uartmode", MODIFYVM_UARTMODE, RTGETOPT_REQ_STRING | RTGETOPT_FLAG_INDEX }, { "--uarttype", MODIFYVM_UARTTYPE, RTGETOPT_REQ_STRING | RTGETOPT_FLAG_INDEX }, { "--uart", MODIFYVM_UART, RTGETOPT_REQ_STRING | RTGETOPT_FLAG_INDEX }, -#if defined(RT_OS_LINUX) || defined(RT_OS_WINDOWS) +#if defined(RT_OS_FREEBSD) || defined(RT_OS_LINUX) || defined(RT_OS_WINDOWS) { "--lptmode", MODIFYVM_LPTMODE, RTGETOPT_REQ_STRING | RTGETOPT_FLAG_INDEX }, { "--lpt", MODIFYVM_LPT, RTGETOPT_REQ_STRING | RTGETOPT_FLAG_INDEX }, #endif @@ -2278,7 +2278,7 @@ RTEXITCODE handleModifyVM(HandlerArg *a) break; } -#if defined(RT_OS_LINUX) || defined(RT_OS_WINDOWS) +#if defined(RT_OS_FREEBSD) || defined(RT_OS_LINUX) || defined(RT_OS_WINDOWS) case MODIFYVM_LPTMODE: { ComPtr lpt;