git: b7a3b36bf907 - 2023Q3 - games/eboard: Unbreak for llvm16

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Wed, 05 Jul 2023 12:36:36 UTC
The branch 2023Q3 has been updated by rhurlin:

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

commit b7a3b36bf9070b21b84dbbb833c27a65ff5c6862
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2023-07-05 11:43:28 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2023-07-05 12:36:26 +0000

    games/eboard: Unbreak for llvm16
    
    The port does not work with C++17 which is the default since clang 16.
    This can be removed once that port starts working with C++17.
    
    Reported by:    pkg-fallout
    MFH:            2023Q3
    
    (cherry picked from commit 30887e6d789c208e55029535416e80ef52b4a595)
---
 games/eboard/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/games/eboard/Makefile b/games/eboard/Makefile
index befd1bca26ab..3f78f9e91874 100644
--- a/games/eboard/Makefile
+++ b/games/eboard/Makefile
@@ -21,6 +21,9 @@ LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libpng.so:graphics/png
 
 USES=		compiler:c++11-lang gnome gstreamer perl5 pkgconfig shebangfix tar:bzip2
+# eboard 1.1.13 is not compatible with C++17, which is the default since
+# clang 16. This means ports depending on it also need to use at most C++14.
+USE_CXXSTD=	c++11
 USE_GITHUB=	yes
 GH_ACCOUNT=	fbergo
 USE_GNOME=	cairo gdkpixbuf2 gtk20