git: 70c96b6e814b - main - net-mgmt/fastnetmon: Fix build with protobuf 22+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 14 Dec 2023 17:03:50 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=70c96b6e814bf366562234ba3eb24d483ab5c29d

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

    net-mgmt/fastnetmon: Fix build with protobuf 22+
    
    - While I'm here, use tab instead of space
---
 net-mgmt/fastnetmon/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/net-mgmt/fastnetmon/Makefile b/net-mgmt/fastnetmon/Makefile
index e3817ed5b1b2..c14bb60fb938 100644
--- a/net-mgmt/fastnetmon/Makefile
+++ b/net-mgmt/fastnetmon/Makefile
@@ -25,8 +25,8 @@ LIB_DEPENDS=	libboost_regex.so:devel/boost-libs \
 		libabsl_base.so:devel/abseil \
 		libhiredis.so:databases/hiredis
 
-USES=	cmake compiler:c++11-lang pkgconfig localbase:ldflags ssl
-USE_CXXSTD=	c++14
+USES=	cmake compiler:c++17-lang pkgconfig localbase:ldflags ssl
+USE_CXXSTD=	c++17
 USE_GITHUB=	yes
 GH_ACCOUNT=	pavel-odintsov
 USE_RC_SUBR=	${PORTNAME}
@@ -39,8 +39,9 @@ CMAKE_INSTALL_PREFIX=	${PREFIX}
 CMAKE_SOURCE_PATH=	${WRKSRC}/src
 
 CFLAGS_i386=	-march=i586
-CXXFLAGS += -DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED \
-	    -D_GNU_SOURCE
+CXXFLAGS+=	-DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED \
+		-D_GNU_SOURCE
+LDFLAGS+=	-labsl_log_internal_message -labsl_log_internal_nullguard
 
 USERS=	${PORTNAME}
 GROUPS=	${PORTNAME}