git: c5c4813452bf - main - graphics/gnash: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 25 Jul 2023 09:42:33 UTC
The branch main has been updated by bofh:

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

commit c5c4813452bfe821c7e2504e9223085ffbb7b2e8
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-25 09:03:49 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-25 09:42:18 +0000

    graphics/gnash: Fix build with llvm16
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 graphics/gnash/Makefile | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/graphics/gnash/Makefile b/graphics/gnash/Makefile
index eef1feda56ae..11aed086599d 100644
--- a/graphics/gnash/Makefile
+++ b/graphics/gnash/Makefile
@@ -33,15 +33,18 @@ CONFLICTS=	gnash-devel
 
 USES=		cpe tar:bzip2 compiler:c++11-lang autoreconf gmake libtool \
 		pkgconfig jpeg gnome gl sdl desktop-file-utils xorg localbase:ldflags
-USE_CSTD=	gnu11
 CPE_VENDOR=	gnu
-GNU_CONFIGURE=	yes
-USE_GNOME=	atk gdkpixbuf2 gtk20 libxml2 pango
-USE_XORG=	x11 xau xdmcp xext xi xinerama ice sm xv
+USE_CSTD=	gnu11
+USE_CXXSTD=	c++11
 USE_GL=		egl
+USE_GNOME=	atk gdkpixbuf2 gtk20 libxml2 pango
 USE_SDL=	sdl
+USE_XORG=	x11 xau xdmcp xext xi xinerama ice sm xv
+
 SYSCONFIGDIR=	${PREFIX}/etc
 
+GNU_CONFIGURE=	yes
+
 # jemalloc leads to infinite recursion on FreeBSD
 CFLAGS+=	-I${LOCALBASE}/ffmpeg4/include
 CPPFLAGS+=	-I${LOCALBASE}/ffmpeg4/include