git: 51be0fc71f43 - main - sysutils/zbackup: Fix build with protobuf 22+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Dec 2023 17:03:53 UTC
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