git: 6c3f02634fa9 - 2023Q3 - games/libtmcg: Fix build with clang-16 by adding USE_CXXSTD

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 17 Jul 2023 01:50:29 UTC
The branch 2023Q3 has been updated by yuri:

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

commit 6c3f02634fa9b7b643424e61a35db523e002bf80
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-17 01:31:55 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-17 01:50:24 +0000

    games/libtmcg: Fix build with clang-16 by adding USE_CXXSTD
    
    Reported by:    fallout
    
    (cherry picked from commit 706cce71c3a69e77afe5db0afb072ea092db78b2)
---
 games/libtmcg/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games/libtmcg/Makefile b/games/libtmcg/Makefile
index 513a6ccb5fe6..d24274a801ea 100644
--- a/games/libtmcg/Makefile
+++ b/games/libtmcg/Makefile
@@ -17,6 +17,7 @@ LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
 
 USES=		gmake libtool localbase:ldflags
 USE_LDCONFIG=	yes
+USE_CXXSTD=	c++14 # fix build with clang-16 broken due to use of deprecated feature std::binary_function, see https://savannah.nongnu.org/bugs/index.php?64433
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-static