Date: Wed, 28 Jun 2023 06:28:24 GMT From: Mikolaj Golub <trociny@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ba4c77cf20f8 - main - databases/leofs: fix build with clang 16 Message-ID: <202306280628.35S6SO5q028987@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by trociny: URL: https://cgit.FreeBSD.org/ports/commit/?id=ba4c77cf20f8eb6991c17843d7fd95628c0aeb2e commit ba4c77cf20f8eb6991c17843d7fd95628c0aeb2e Author: Mikolaj Golub <trociny@FreeBSD.org> AuthorDate: 2023-06-28 06:17:59 +0000 Commit: Mikolaj Golub <trociny@FreeBSD.org> CommitDate: 2023-06-28 06:27:40 +0000 databases/leofs: fix build with clang 16 Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Because Makefile does not explicitly set its C++ standard, this leads to the error when building eleveldb: util/bloom.cc:100:10: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr<const FilterPolicy> m_Item; ~~~~~^ Add USE_CXXSTD=gnu++11 to avoid this error. --- databases/leofs/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/databases/leofs/Makefile b/databases/leofs/Makefile index 2d86eb92f082..87969c2295fb 100644 --- a/databases/leofs/Makefile +++ b/databases/leofs/Makefile @@ -1,6 +1,6 @@ PORTNAME= leofs DISTVERSION= 1.4.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases DIST_SUBDIR= ${PORTNAME} @@ -55,6 +55,7 @@ SUB_LIST+= LEOFS_USER=${LEOFS_USER} \ SUB_FILES+= ${LEOFS_SBIN_FILES:S/^/sbin-/} USES= dos2unix gmake pkgconfig ssl +USE_CXXSTD= gnu++11 USE_RC_SUBR= ${PORTNAME} DOS2UNIX_FILES= apps/leo_*/snmp/snmpa_*/leo_*_snmp.config
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306280628.35S6SO5q028987>