git: 1f7798494f5e - main - net/spoofer: Fix build with protobuf 29+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Jan 2025 17:25:48 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=1f7798494f5e8daf1ad47fac68bf39c174b64fab commit 1f7798494f5e8daf1ad47fac68bf39c174b64fab Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2025-01-28 17:25:43 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2025-01-28 17:25:43 +0000 net/spoofer: Fix build with protobuf 29+ ld: error: undefined symbol: absl::lts_20240722::log_internal::kCharNull >>> referenced by spoofer-prober.cc >>> spoofer-prober.o:(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>* absl::lts_20240722::log_internal::MakeCheckOpString<char const*, void const*>(char const*, void const*, char const*)) c++: error: linker command failed with exit code 1 (use -v to see invocation) Approved by: portmgr (blanket) --- net/spoofer/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/spoofer/Makefile b/net/spoofer/Makefile index c9c34b028ead..ab7289631ba9 100644 --- a/net/spoofer/Makefile +++ b/net/spoofer/Makefile @@ -18,7 +18,9 @@ USES= compiler:c++17-lang localbase GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-development --with-protobuf=${LOCALBASE} -LDFLAGS+= -labsl_log_internal_check_op -labsl_log_internal_message +LDFLAGS+= -labsl_log_internal_check_op \ + -labsl_log_internal_message \ + -labsl_log_internal_nullguard USE_CXXSTD= c++17 PORTDOCS= README