git: b475ea0a7e23 - main - devel/libcutl: fix build on current by restricting to c++11

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Thu, 29 Jun 2023 16:15:46 UTC
The branch main has been updated by tcberner:

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

commit b475ea0a7e23532d7e48eb782502c3a456aad02d
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-06-29 16:14:46 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-06-29 16:14:46 +0000

    devel/libcutl: fix build on current by restricting to c++11
    
    In file included from shared-ptr/base.cxx:5:
    ../cutl/shared-ptr/base.hxx:34:41: error: ISO C++17 does not allow
    dynamic exception specifications [-Wdynamic-exception-spec] operator new
    (std::size_t, cutl::share) throw (std::bad_alloc);
    ^~~~~~~~~~~~~~~~~~~~~~
    ../cutl/shared-ptr/base.hxx:34:41: note: use 'noexcept(false)' instead
---
 devel/libcutl/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devel/libcutl/Makefile b/devel/libcutl/Makefile
index d4d6b28bce43..550ccfecd892 100644
--- a/devel/libcutl/Makefile
+++ b/devel/libcutl/Makefile
@@ -17,6 +17,7 @@ LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
 		libexpat.so:textproc/expat2
 
 USES=		compiler:c++11-lib libtool
+USE_CXXSTD=	c++11
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip