Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2023 01:49:39 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 8e42aad662fe - 2023Q3 - databases/nanodbc: Fix build with clang-16 by adding USE_CXXSTD
Message-ID:  <202307170149.36H1ndbe089226@gitrepo.freebsd.org>

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

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

commit 8e42aad662fe4af2c5616189a02a9ccfceedfbc3
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:49:33 +0000

    databases/nanodbc: Fix build with clang-16 by adding USE_CXXSTD
    
    Reported by:    fallout
    
    (cherry picked from commit 82a579bfa9e14c6a22e2114fe7be575506d4ce85)
---
 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
 



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