git: 08c4f9c38d1f - main - emulators/virtualbox-ose-kmod-legacy: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 29 Apr 2023 22:52:14 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=08c4f9c38d1f14da3de628abd06096394476262c

commit 08c4f9c38d1f14da3de628abd06096394476262c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-04-29 22:20:05 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-04-29 22:52:00 +0000

    emulators/virtualbox-ose-kmod-legacy: Unbreak on HEAD
    
    Approved by:    portmgr (blanket)
---
 emulators/virtualbox-ose-kmod-legacy/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/emulators/virtualbox-ose-kmod-legacy/Makefile b/emulators/virtualbox-ose-kmod-legacy/Makefile
index 7ab23e6d259e..1f22215cd453 100644
--- a/emulators/virtualbox-ose-kmod-legacy/Makefile
+++ b/emulators/virtualbox-ose-kmod-legacy/Makefile
@@ -77,6 +77,10 @@ KMK_ARCH=	freebsd.${ARCH}
 
 .include <bsd.port.pre.mk>
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 SYMBOLSUFFIX=	debug
 PLIST_SUB+=	SYMBOLSUFFIX=${SYMBOLSUFFIX}