git: 8b1fa8d19fc8 - main - java/jlint: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 23 Jul 2023 18:45:31 UTC
The branch main has been updated by bofh:

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

commit 8b1fa8d19fc8dd93009b4d44c7e4c4c3ad94a2a2
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 18:30:47 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 18:45:16 +0000

    java/jlint: Fix build with llvm16
    
    - Pet portclippy
    
    Sponsored by:   The FreeBSD Foundation
---
 java/jlint/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/java/jlint/Makefile b/java/jlint/Makefile
index 651c6288b05f..5162e83213c0 100644
--- a/java/jlint/Makefile
+++ b/java/jlint/Makefile
@@ -12,6 +12,7 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=	compiler
+USE_CXXSTD=	c++14
 
 CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
 CXXFLAGS_clang=	-Wno-c++11-narrowing