git: 16407e6f7a3d - main - x11-toolkits/viewklass: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 24 Jul 2023 14:46:12 UTC
The branch main has been updated by bofh:

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

commit 16407e6f7a3d87b0e73edb4873b16040eece1a4b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-24 14:01:05 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-24 14:46:02 +0000

    x11-toolkits/viewklass: Fix build with llvm16
    
    - Pet portclippy
    
    Sponsored by:   The FreeBSD Foundation
---
 x11-toolkits/viewklass/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/x11-toolkits/viewklass/Makefile b/x11-toolkits/viewklass/Makefile
index 1518600000fb..6a0b6da1554b 100644
--- a/x11-toolkits/viewklass/Makefile
+++ b/x11-toolkits/viewklass/Makefile
@@ -11,8 +11,10 @@ WWW=		http://viewklass.sourceforge.net/
 
 LICENSE=	LGPL20+
 
-GNU_CONFIGURE=	yes
 USES=		imake:env motif
+USE_CXXSTD=	c++14
+
+GNU_CONFIGURE=	yes
 
 post-patch:
 	@${REINPLACE_CMD} -e \