[packages/pokerth] - protobuf linking fixes, release 18

qboosh qboosh at pld-linux.org
Mon Oct 6 22:01:35 CEST 2025


commit d7901a1ef27788c303c7c2661e7de00efcda7cdb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Oct 6 22:04:49 2025 +0200

    - protobuf linking fixes, release 18

 pokerth-protobuf.patch | 44 ++++++++++++++++++++++++++++++++++++++++++++
 pokerth.spec           |  2 +-
 2 files changed, 45 insertions(+), 1 deletion(-)
---
diff --git a/pokerth.spec b/pokerth.spec
index f1d03f5..008d93f 100644
--- a/pokerth.spec
+++ b/pokerth.spec
@@ -2,7 +2,7 @@ Summary:	The Open Source Texas-Holdem Poker Engine
 Summary(pl.UTF-8):	Silnik gry Texas-Holdem poker
 Name:		pokerth
 Version:	1.1.2
-Release:	17
+Release:	18
 License:	AGPL v3+
 Group:		X11/Applications/Games
 #Source0Download: https://github.com/pokerth/pokerth/releases
diff --git a/pokerth-protobuf.patch b/pokerth-protobuf.patch
index cb0ba08..67bc751 100644
--- a/pokerth-protobuf.patch
+++ b/pokerth-protobuf.patch
@@ -22,3 +22,47 @@
  		break;
  	}
  	return retVal;
+--- pokerth-1.1.2-rc/connectivity.pro.orig	2025-10-06 21:31:00.698916156 +0200
++++ pokerth-1.1.2-rc/connectivity.pro	2025-10-06 21:36:52.997630410 +0200
+@@ -81,7 +81,7 @@ unix : !mac {
+ 	kFreeBSD = $$find(UNAME, "kFreeBSD")
+ 
+ 	LIBS += $$BOOST_LIBS
+-	LIBS += -lprotobuf -lgsasl -lgcrypt -lidn
++	LIBS += $$system(pkg-config --libs protobuf) -lgsasl -lgcrypt -lidn
+ 
+ 	#### INSTALL ####
+ 
+--- pokerth-1.1.2-rc/pokerth_server.pro.orig	2025-10-06 21:37:11.027735212 +0200
++++ pokerth-1.1.2-rc/pokerth_server.pro	2025-10-06 21:42:43.409667206 +0200
+@@ -285,7 +285,7 @@ unix : !mac {
+ 	LIBS += $$BOOST_LIBS
+ 	LIBS += -lsqlite3 \
+ 			-ltinyxml \
+-			-lprotobuf
++			$$system(pkg-config --libs protobuf)
+ 	LIBS += -lgsasl
+ 	!isEmpty( BSD ): isEmpty( kFreeBSD ){
+ 		LIBS += -lcrypto -liconv
+--- pokerth-1.1.2-rc/chatcleaner.pro.orig	2017-08-16 14:24:03.000000000 +0200
++++ pokerth-1.1.2-rc/chatcleaner.pro	2025-10-06 21:47:49.554777746 +0200
+@@ -37,7 +37,7 @@ HEADERS += src/chatcleaner/cleanerserver
+ LIBPATH += lib
+ LIBS += -lpokerth_lib \
+ 	-lpokerth_protocol \
+-	-lprotobuf \
++	$$system(pkg-config --libs protobuf) \
+ 	-ltinyxml
+ 
+ win32 {
+--- pokerth-1.1.2-rc/pokerth_game.pro.orig	2025-10-06 21:48:09.128224684 +0200
++++ pokerth-1.1.2-rc/pokerth_game.pro	2025-10-06 21:53:09.543302683 +0200
+@@ -521,7 +521,7 @@ unix:!mac {
+ 		kFreeBSD = $$find(UNAME, "kFreeBSD")
+ 		LIBS += -lsqlite3 \
+ 				-ltinyxml \
+-				-lprotobuf
++				$$system(pkg-config --libs protobuf)
+ 		LIBS += $$BOOST_LIBS
+ 		LIBS += -lSDL \
+ 				-lSDL_mixer \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pokerth.git/commitdiff/d7901a1ef27788c303c7c2661e7de00efcda7cdb



More information about the pld-cvs-commit mailing list