git: 11134b8c3cff - main - games/xgalaga++: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 19 Jul 2023 19:27:31 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=11134b8c3cff58b193abdc95c1087ffacbb23dd1

commit 11134b8c3cff58b193abdc95c1087ffacbb23dd1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-19 19:04:14 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-19 19:27:16 +0000

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

diff --git a/games/xgalaga++/Makefile b/games/xgalaga++/Makefile
index 108a1ca3f84a..7397e4b6496c 100644
--- a/games/xgalaga++/Makefile
+++ b/games/xgalaga++/Makefile
@@ -14,20 +14,22 @@ WWW=		https://marc.mongenet.ch/OSS/XGalaga/
 LICENSE=	GPLv2
 
 USES=		gmake xorg
+USE_CXXSTD=	c++14
 USE_XORG=	x11 xpm
 
 ALL_TARGET=	${PORTNAME}
+
+DESKTOP_ENTRIES="XGalaga++" "" "${PORTNAME}" \
+		"${PORTNAME}" "Game;ArcadeGame;" ""
+
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 PLIST_FILES=	bin/${PORTNAME} \
 		man/man6/${PORTNAME}.6.gz \
 		share/pixmaps/${PORTNAME}.png
-
 PORTDOCS=	README
-OPTIONS_DEFINE=	DOCS
 
-DESKTOP_ENTRIES="XGalaga++" "" "${PORTNAME}" \
-		"${PORTNAME}" "Game;ArcadeGame;" ""
+OPTIONS_DEFINE=	DOCS
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|CXX =|CXX ?=|; \