summaryrefslogtreecommitdiff
path: root/games-board/pokerth/files/pokerth-1.1.2-protobuf-23.patch
blob: 4907b75419696867e7c4da78ec3c4957c4dbf9ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
From da0855690cfec5129a60dfe33128ebd393389989 Mon Sep 17 00:00:00 2001
From: Stefan Strogin <stefan@steils.org>
Date: Tue, 10 Oct 2023 00:30:29 +0000
Subject: [PATCH] Fix linking with protobuf 23

---
 chatcleaner.pro    | 2 ++
 pokerth_game.pro   | 4 +++-
 pokerth_server.pro | 4 +++-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/chatcleaner.pro b/chatcleaner.pro
index 6d63b4a9..d9f50ab4 100644
--- a/chatcleaner.pro
+++ b/chatcleaner.pro
@@ -38,6 +38,8 @@ LIBPATH += lib
 LIBS += -lpokerth_lib \
 	-lpokerth_protocol \
 	-lprotobuf \
+	-labsl_log_internal_check_op \
+	-labsl_log_internal_message \
 	-ltinyxml
 
 win32 {
diff --git a/pokerth_game.pro b/pokerth_game.pro
index 2c188e44..9ef53666 100644
--- a/pokerth_game.pro
+++ b/pokerth_game.pro
@@ -524,7 +524,9 @@ unix:!mac {
 		kFreeBSD = $$find(UNAME, "kFreeBSD")
 		LIBS += -lsqlite3 \
 				-ltinyxml \
-				-lprotobuf
+				-lprotobuf \
+				-labsl_log_internal_check_op \
+				-labsl_log_internal_message
 		LIBS += $$BOOST_LIBS
 		LIBS += -lSDL \
 				-lSDL_mixer \
diff --git a/pokerth_server.pro b/pokerth_server.pro
index ccaff69e..20cc3eca 100644
--- a/pokerth_server.pro
+++ b/pokerth_server.pro
@@ -285,7 +285,9 @@ unix : !mac {
 	LIBS += $$BOOST_LIBS
 	LIBS += -lsqlite3 \
 			-ltinyxml \
-			-lprotobuf
+			-lprotobuf \
+			-labsl_log_internal_check_op \
+			-labsl_log_internal_message
 	LIBS += -lgsasl
 	!isEmpty( BSD ): isEmpty( kFreeBSD ){
 		LIBS += -lcrypto -liconv
-- 
2.42.0