git: 60fbad1670fe - main - net-p2p/amule: Unbreak clang16

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Wed, 05 Jul 2023 19:11:14 UTC
The branch main has been updated by eduardo:

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

commit 60fbad1670fec827eb6035816be246819bbbf08e
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-07-05 19:00:13 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-07-05 19:11:01 +0000

    net-p2p/amule: Unbreak clang16
    
    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
---
 net-p2p/amule/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/net-p2p/amule/Makefile b/net-p2p/amule/Makefile
index 6e5e6c511408..775074c776ba 100644
--- a/net-p2p/amule/Makefile
+++ b/net-p2p/amule/Makefile
@@ -16,6 +16,10 @@ LIB_DEPENDS=	libcryptopp.so:security/cryptopp
 
 USES=		bison compiler:c++11-lang cpe desktop-file-utils gmake \
 		localbase:ldflags perl5 pkgconfig shebangfix tar:xz
+# amule 2.3.3 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 and
+# has its own USE_CXXSTD removed.
+USE_CXXSTD=	c++11
 USE_PERL5=	build
 USE_WX=		3.0
 WX_CONF_ARGS=	absolute