git: 318dc1420630 - main - games/memonix: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 22 Jul 2023 06:11:31 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=318dc1420630fc2068315d9e6981c536dcb096cf

commit 318dc1420630fc2068315d9e6981c536dcb096cf
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-22 05:21:27 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-22 06:11:20 +0000

    games/memonix: Fix build with llvm16
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 games/memonix/Makefile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/games/memonix/Makefile b/games/memonix/Makefile
index 464c56906d0c..1cdbcf1380f6 100644
--- a/games/memonix/Makefile
+++ b/games/memonix/Makefile
@@ -15,15 +15,17 @@ WWW=		https://www.viewizard.com/
 LICENSE=	unknown GPLv2
 LICENSE_COMB=	dual
 LICENSE_NAME_unknown=	Freeware License
-LICENSE_FILE_unknown=	${WRKDIR}/Memonix/License
 LICENSE_FILE_GPLv2=	${WRKSRC}/License.txt
+LICENSE_FILE_unknown=	${WRKDIR}/Memonix/License
 LICENSE_PERMS_unknown=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-LICENSE_DISTFILES_unknown=	memx16.tar.gz
 LICENSE_DISTFILES_GPLv2=	${DISTNAME}${EXTRACT_SUFX}
+LICENSE_DISTFILES_unknown=	memx16.tar.gz
 
-USES=		cmake:insource gl sdl zip
+USES=		cmake:insource gl sdl xorg zip
+USE_CXXSTD=	c++14
+USE_GL=		gl
 USE_SDL=	sdl mixer image
-USE_GL=		yes
+USE_XORG=	x11 xext
 
 WRKSRC=		${WRKDIR}/MemonixSourceCode