diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2024-03-03 17:08:54 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-03-06 18:11:15 +0700 |
commit | f1d6269befb9ec41e9d3c3b5443841e596e0c618 (patch) | |
tree | 748af5eaecf0b7266210b73e42dc5ecbe9b1e165 /games | |
parent | aa94f5e261b7aa49f752faf23ce292e825a5787a (diff) |
games/pokerth: Updated for version 20230930_ecf031e.
Fix underlinking against the newer protobuf
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/pokerth/patches/pokerth-1.1.2-newer-protobuf.patch | 40 | ||||
-rw-r--r-- | games/pokerth/pokerth.SlackBuild | 6 | ||||
-rw-r--r-- | games/pokerth/pokerth.info | 6 |
3 files changed, 47 insertions, 5 deletions
diff --git a/games/pokerth/patches/pokerth-1.1.2-newer-protobuf.patch b/games/pokerth/patches/pokerth-1.1.2-newer-protobuf.patch new file mode 100644 index 0000000000000..81e0faf2ba9a6 --- /dev/null +++ b/games/pokerth/patches/pokerth-1.1.2-newer-protobuf.patch @@ -0,0 +1,40 @@ +diff -Naur pokerth-20230930_ecf031e.orig/chatcleaner.pro pokerth-20230930_ecf031e/chatcleaner.pro +--- pokerth-20230930_ecf031e.orig/chatcleaner.pro 2023-09-30 09:15:23.000000000 +0200 ++++ pokerth-20230930_ecf031e/chatcleaner.pro 2024-03-03 16:38:51.640781000 +0100 +@@ -38,6 +38,8 @@ + LIBS += -lpokerth_lib \ + -lpokerth_protocol \ + -lprotobuf \ ++ -labsl_log_internal_check_op \ ++ -labsl_log_internal_message \ + -ltinyxml + + win32 { +diff -Naur pokerth-20230930_ecf031e.orig/pokerth_game.pro pokerth-20230930_ecf031e/pokerth_game.pro +--- pokerth-20230930_ecf031e.orig/pokerth_game.pro 2023-09-30 09:15:23.000000000 +0200 ++++ pokerth-20230930_ecf031e/pokerth_game.pro 2024-03-03 15:33:13.587781000 +0100 +@@ -524,7 +524,9 @@ + 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 -Naur pokerth-20230930_ecf031e.orig/pokerth_server.pro pokerth-20230930_ecf031e/pokerth_server.pro +--- pokerth-20230930_ecf031e.orig/pokerth_server.pro 2023-09-30 09:15:23.000000000 +0200 ++++ pokerth-20230930_ecf031e/pokerth_server.pro 2024-03-03 15:43:03.651781000 +0100 +@@ -285,7 +285,9 @@ + 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 diff --git a/games/pokerth/pokerth.SlackBuild b/games/pokerth/pokerth.SlackBuild index 618639da51099..338635b1156dd 100644 --- a/games/pokerth/pokerth.SlackBuild +++ b/games/pokerth/pokerth.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pokerth. -# Copyright 2020 Matteo Bernardini <ponce@slackbuilds.org> +# Copyright 20202024 Matteo Bernardini <ponce@slackbuilds.org> # Copyright 2009-2015 Marcel Saegebarth <marc@mos6581.de> # Copyright 2012 Laurent Nardou <l.nardou@wanadoo.fr> # All rights reserved. @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pokerth -VERSION=${VERSION:-20230322_181f05f} +VERSION=${VERSION:-20230930_ecf031e} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -87,6 +87,8 @@ find -L . \ patch -p1 < $CWD/patches/pokerth-1.1.2-boost-1.70-websocket-fix1.patch patch -p1 < $CWD/patches/pokerth-1.1.2-boost-1.70-websocket-fix2.patch ) +patch -p1 < $CWD/patches/pokerth-1.1.2-newer-protobuf.patch + qmake-qt5 QMAKE_CFLAGS_ISYSTEM= -spec linux-g++ pokerth.pro make mkdir -p $PKG/usr/bin diff --git a/games/pokerth/pokerth.info b/games/pokerth/pokerth.info index ff00b6c912246..fe6981d55ab34 100644 --- a/games/pokerth/pokerth.info +++ b/games/pokerth/pokerth.info @@ -1,8 +1,8 @@ PRGNAM="pokerth" -VERSION="20230322_181f05f" +VERSION="20230930_ecf031e" HOMEPAGE="https://www.pokerth.net" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/pokerth-20230322_181f05f.tar.xz" -MD5SUM="1b53def19d166956efa2b5cbbdda66e0" +DOWNLOAD="https://ponce.cc/slackware/sources/repo/pokerth-20230930_ecf031e.tar.xz" +MD5SUM="e6cf4a9441832f6657afe89186dff7a2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libgsasl libircclient tinyxml protobuf3" |