Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2023 17:03:53 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 51be0fc71f43 - main - sysutils/zbackup: Fix build with protobuf 22+
Message-ID:  <202312141703.3BEH3rgj017811@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 51be0fc71f43c8d3710b0405dc6238ef418e3216
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-14 16:23:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-14 17:03:09 +0000

    sysutils/zbackup: Fix build with protobuf 22+
---
 sysutils/zbackup/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sysutils/zbackup/Makefile b/sysutils/zbackup/Makefile
index 3c8779063e57..a9784273718b 100644
--- a/sysutils/zbackup/Makefile
+++ b/sysutils/zbackup/Makefile
@@ -12,10 +12,12 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	libprotobuf.so:devel/protobuf \
 		liblzo2.so:archivers/lzo2
 
-USES=		alias cmake:insource compiler:c++11-lang ssl
-USE_CXXSTD=	c++11
+USES=		alias cmake:insource compiler:c++17-lang ssl
 USE_GITHUB=	yes
 
+CXXFLAGS+=	-Wno-dynamic-exception-spec
+USE_CXXSTD=	c++17
+
 OPTIONS_DEFINE=	DOCS
 
 PLIST_FILES=	bin/zbackup



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