git: 82a579bfa9e1 - main - databases/nanodbc: Fix build with clang-16 by adding USE_CXXSTD

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

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

commit 82a579bfa9e14c6a22e2114fe7be575506d4ce85
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-17 01:48:27 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-17 01:48:27 +0000

    databases/nanodbc: Fix build with clang-16 by adding USE_CXXSTD
    
    Reported by:    fallout
---
 databases/nanodbc/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/databases/nanodbc/Makefile b/databases/nanodbc/Makefile
index f96dd7b9c537..dc3b7180d957 100644
--- a/databases/nanodbc/Makefile
+++ b/databases/nanodbc/Makefile
@@ -14,6 +14,7 @@ LIB_DEPENDS=	libodbc.so:databases/unixODBC
 
 USES=		cmake:testing compiler:c++14-lang localbase:ldflags # pkgconfig python:build
 USE_LDCONFIG=	yes
+USE_CXXSTD=	c++14 # fix build broken by deprecated feature std::char_traits, see https://github.com/nanodbc/nanodbc/issues/387
 
 USE_GITHUB=	yes