git: 68b882ac1f0c - main - games/pokerth: Fix build with protobuf 29+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Jan 2025 17:25:47 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=68b882ac1f0c83b87b6fb45fa0c533a5e3fcb64b commit 68b882ac1f0c83b87b6fb45fa0c533a5e3fcb64b Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2025-01-28 17:25:38 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2025-01-28 17:25:38 +0000 games/pokerth: Fix build with protobuf 29+ ld: error: undefined symbol: absl::lts_20240722::log_internal::kCharNull >>> referenced by clientthread.cpp >>> clientthread.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*)) in archive lib/libpokerth_lib.a c++: error: linker command failed with exit code 1 (use -v to see invocation) Approved by: portmgr (blanket) --- games/pokerth/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/games/pokerth/Makefile b/games/pokerth/Makefile index cad9b819a52e..96d3d188e61b 100644 --- a/games/pokerth/Makefile +++ b/games/pokerth/Makefile @@ -36,6 +36,7 @@ USE_SDL= mixer CXXFLAGS+= -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION LDFLAGS+= -labsl_log_internal_check_op \ -labsl_log_internal_message \ + -labsl_log_internal_nullguard \ -lprotobuf QMAKE_SOURCE_PATH= pokerth.pro QMAKE_ARGS+= CONFIG+="client"