git: 77c322e53c89 - main - games/pink-pony: Fix build with protobuf 29+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Jan 2025 17:25:46 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=77c322e53c89bd684caca130d54a9b6b457aa8ef
commit 77c322e53c89bd684caca130d54a9b6b457aa8ef
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-01-28 17:25:37 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-01-28 17:25:37 +0000
games/pink-pony: Fix build with protobuf 29+
ld: error: undefined symbol: absl::lts_20240722::log_internal::kCharNull
>>> referenced by Heightmap.cc
>>> src/Heightmap.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)
---
games/pink-pony/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/games/pink-pony/Makefile b/games/pink-pony/Makefile
index 1ab4a91ca015..a0247014a3e2 100644
--- a/games/pink-pony/Makefile
+++ b/games/pink-pony/Makefile
@@ -25,7 +25,9 @@ USE_GL= gl glu
USE_SDL= mixer
SUB_FILES= pink-pony.sh
-LDFLAGS+= -labsl_log_internal_check_op -labsl_log_internal_message
+LDFLAGS+= -labsl_log_internal_check_op \
+ -labsl_log_internal_message \
+ -labsl_log_internal_nullguard
PORTDOCS= *
PORTDATA= *