Upstream has released bugfix v2.0.3.  New diff attached.

On Sat, Feb 21, 2026 at 10:58:27PM -0500, Josh Grosse wrote:
> Attached is an update diff for games/pokerth.
diff --git games/pokerth/Makefile games/pokerth/Makefile
index 45f83e29675..1ec7fe37596 100644
--- games/pokerth/Makefile
+++ games/pokerth/Makefile
@@ -2,10 +2,9 @@ BROKEN-i386 =  protobuf/abseil problems
 
 COMMENT =      texas holdem poker client, local or internet games
 
-DIST_TUPLE =   github jggimi pokerth-openbsd 2025.09.04 .
-V =            1.1.2pl20250904
+V =            2.0.3
+DIST_TUPLE =   github pokerth pokerth v${V} .
 PKGNAME =      pokerth-${V}
-REVISION =     0
 
 CATEGORIES =   games
 
@@ -19,30 +18,28 @@ SUBST_VARS +=       MODQT_QTDIR V
 
 ALL_TARGET =   pokerth_client
 
-CONFIGURE_ARGS +=              -DCMAKE_BUILD_TYPE=RelWithDebInfo
+CONFIGURE_ARGS +=   -DCMAKE_BUILD_TYPE=RelWithDebInfo
+MODCMAKE_LDFLAGS += -L${LOCALBASE}/lib -liconv
+
 DEBUG_PACKAGES =               ${BUILD_PACKAGES}
 
 BUILD_DEPENDS +=       x11/qt6/qtwebsockets
 
 LIB_DEPENDS += devel/boost,-main
 LIB_DEPENDS += devel/protobuf
-LIB_DEPENDS += devel/sdl
-LIB_DEPENDS += devel/sdl-mixer
-LIB_DEPENDS += security/libgsasl
+LIB_DEPENDS += x11/qt6/qtmultimedia
 
 RUN_DEPENDS += devel/desktop-file-utils
 
-WANTLIB +=     ${COMPILER_LIBCXX} GL Qt6Core Qt6Gui Qt6Network
-WANTLIB +=     Qt6Sql Qt6Widgets Qt6Xml SDL SDL_mixer boost_atomic-mt
-WANTLIB +=     boost_filesystem-mt boost_iostreams-mt boost_program_options-mt
-WANTLIB +=     boost_random-mt boost_regex-mt
-WANTLIB +=     boost_thread-mt boost_thread-mt c crypto curl gsasl m protobuf
-WANTLIB +=     sqlite3 ssl
-
-pre-configure:
-       cd ${WRKSRC} && \
-       protoc --cpp_out=src/third_party/protobuf chatcleaner.proto && \
-       protoc --cpp_out=src/third_party/protobuf pokerth.proto && \
-       ${SUBST_CMD} pokerth.desktop src/game_defs.h
+WANTLIB += ${COMPILER_LIBCXX} GL Qt6Core Qt6Gui Qt6Multimedia
+WANTLIB += Qt6Network Qt6Sql Qt6Widgets Qt6Xml boost_atomic-mt
+WANTLIB += boost_chrono-mt boost_container-mt boost_date_time-mt
+WANTLIB += boost_filesystem-mt boost_iostreams-mt boost_program_options-mt
+WANTLIB += boost_random-mt boost_regex-mt boost_thread-mt c crypto
+WANTLIB += iconv m protobuf ssl
+
+
+pre-build:
+       ${SUBST_CMD} ${WRKSRC}/pokerth.desktop
 
 .include <bsd.port.mk>
diff --git games/pokerth/distinfo games/pokerth/distinfo
index 9c3b9078f67..0553d3e85ce 100644
--- games/pokerth/distinfo
+++ games/pokerth/distinfo
@@ -1,2 +1,2 @@
-SHA256 (jggimi-pokerth-openbsd-2025.09.04.tar.gz) = 
njlbeGY9KJUAIX/yTtUsWaP4hEwftZlLHoFi2+JE5Oo=
-SIZE (jggimi-pokerth-openbsd-2025.09.04.tar.gz) = 27752902
+SHA256 (pokerth-pokerth-v2.0.3.tar.gz) = 
ikDe3U0ghoXxiuL8YpYM7w1QQBdRwsF4mMWT4dFtRvI=
+SIZE (pokerth-pokerth-v2.0.3.tar.gz) = 27509349
diff --git games/pokerth/patches/patch-src_gui_qt6-qml_CMakeLists_txt 
games/pokerth/patches/patch-src_gui_qt6-qml_CMakeLists_txt
new file mode 100644
index 00000000000..5bec9a310de
--- /dev/null
+++ games/pokerth/patches/patch-src_gui_qt6-qml_CMakeLists_txt
@@ -0,0 +1,9 @@
+Index: src/gui/qt6-qml/CMakeLists.txt
+--- src/gui/qt6-qml/CMakeLists.txt.orig
++++ src/gui/qt6-qml/CMakeLists.txt
+@@ -132,5 +132,4 @@ endif()
+ 
+ install(TARGETS pokerth_qml-client DESTINATION bin OPTIONAL)
+ install(DIRECTORY ../../../data DESTINATION share/pokerth)
+-install(FILES ../../../pokerth_qml.desktop DESTINATION share/applications)
+ install(FILES ../../../pokerth.png DESTINATION share/pixmaps)
diff --git games/pokerth/patches/patch-src_net_clientstate_cpp 
games/pokerth/patches/patch-src_net_clientstate_cpp
new file mode 100644
index 00000000000..263a06d5e96
--- /dev/null
+++ games/pokerth/patches/patch-src_net_clientstate_cpp
@@ -0,0 +1,14 @@
+TCP_KEEPALIVE not supported
+
+Index: src/net/clientstate.cpp
+--- src/net/clientstate.cpp.orig
++++ src/net/clientstate.cpp
+@@ -604,7 +604,7 @@ ClientStateStartConnect::HandleConnect(const boost::sy
+                     setsockopt(fd, IPPROTO_TCP, TCP_KEEPALIVE, &keepidle,  
sizeof(keepidle));
+                     setsockopt(fd, IPPROTO_TCP, TCP_KEEPINTVL, &keepintvl, 
sizeof(keepintvl));
+                     setsockopt(fd, IPPROTO_TCP, TCP_KEEPCNT,   &keepcnt,   
sizeof(keepcnt));
+-#else
++#elif !defined(__OpenBSD__)
+                     setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE,  &keepidle,  
sizeof(keepidle));
+                     setsockopt(fd, IPPROTO_TCP, TCP_KEEPINTVL, &keepintvl, 
sizeof(keepintvl));
+                     setsockopt(fd, IPPROTO_TCP, TCP_KEEPCNT,   &keepcnt,   
sizeof(keepcnt));
diff --git games/pokerth/pkg/PLIST games/pokerth/pkg/PLIST
index 4dc8720dab6..c93473395a8 100644
--- games/pokerth/pkg/PLIST
+++ games/pokerth/pkg/PLIST
@@ -290,6 +290,7 @@ share/pokerth/data/gfx/gui/misc/startwindowbg10_mobile.png
 share/pokerth/data/gfx/gui/misc/welcomepokerth10_desktop.png
 share/pokerth/data/gfx/gui/misc/welcomepokerth10_mobile.png
 share/pokerth/data/gfx/gui/misc/windowicon.png
+share/pokerth/data/gfx/gui/misc/windowicon_transparent.png
 share/pokerth/data/gfx/gui/table/
 share/pokerth/data/gfx/gui/table/danuxi1/
 share/pokerth/data/gfx/gui/table/danuxi1/bigblindPuck.png
@@ -438,6 +439,7 @@ share/pokerth/data/sounds/default/playerconnected.wav
 share/pokerth/data/sounds/default/raise.wav
 share/pokerth/data/sounds/default/yourturn.wav
 share/pokerth/data/translations/
+share/pokerth/data/translations/pokerth_START_HERE.qm
 share/pokerth/data/translations/pokerth_af.qm
 share/pokerth/data/translations/pokerth_bg.qm
 share/pokerth/data/translations/pokerth_ca.qm
@@ -476,6 +478,7 @@ share/pokerth/data/translations/qt_gl.qm
 share/pokerth/data/translations/qt_he.qm
 share/pokerth/data/translations/qt_hu.qm
 share/pokerth/data/translations/qt_ja.qm
+share/pokerth/data/translations/qt_lt.qm
 share/pokerth/data/translations/qt_nl.qm
 share/pokerth/data/translations/qt_pl.qm
 share/pokerth/data/translations/qt_pt.qm
@@ -484,6 +487,7 @@ share/pokerth/data/translations/qt_sk.qm
 share/pokerth/data/translations/qt_sl.qm
 share/pokerth/data/translations/qt_sv.qm
 share/pokerth/data/translations/qt_uk.qm
+share/pokerth/data/translations/qt_untranslated.qm
 share/pokerth/data/translations/qt_zh_CN.qm
 share/pokerth/data/translations/qt_zh_TW.qm
 @tag update-desktop-database

Reply via email to