Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2023 01:32:30 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 706cce71c3a6 - main - games/libtmcg: Fix build with clang-16 by adding USE_CXXSTD
Message-ID:  <202307170132.36H1WUxk071812@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit 706cce71c3a69e77afe5db0afb072ea092db78b2
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:31:55 +0000

    games/libtmcg: Fix build with clang-16 by adding USE_CXXSTD
    
    Reported by:    fallout
---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307170132.36H1WUxk071812>