summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2018-04-27 22:49:39 +0100
committerJames Le Cuirot <chewi@gentoo.org>2018-04-27 22:49:39 +0100
commitb1e9b981d868caa32a59110e89eda03bafcbe155 (patch)
tree2f2d2b3b539ba7c8bc4dcfb8c8574136a8c69832 /games-board/pokerth/files
parentapp-text/libwps: 0.4.9 version bump (diff)
downloadgentoo-b1e9b981d868caa32a59110e89eda03bafcbe155.tar.gz
gentoo-b1e9b981d868caa32a59110e89eda03bafcbe155.tar.bz2
gentoo-b1e9b981d868caa32a59110e89eda03bafcbe155.zip
games-board/pokerth: Version bump to 1.1.2
Fixes protobuf issue. Some libraries still need unbundling. Closes: https://bugs.gentoo.org/644460 Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-board/pokerth/files')
-rw-r--r--games-board/pokerth/files/pokerth-1.1.2-protobuf.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/games-board/pokerth/files/pokerth-1.1.2-protobuf.patch b/games-board/pokerth/files/pokerth-1.1.2-protobuf.patch
new file mode 100644
index 000000000000..0ac2ab0b1531
--- /dev/null
+++ b/games-board/pokerth/files/pokerth-1.1.2-protobuf.patch
@@ -0,0 +1,23 @@
+https://github.com/pokerth/pokerth/issues/339
+--- PokerTH-1.1.1-src/pokerth.proto
++++ PokerTH-1.1.1-src.new/pokerth.proto
+@@ -701,7 +701,7 @@
+
+ message ErrorMessage {
+ enum ErrorReason {
+- reserved = 0;
++ custReserved = 0;
+ initVersionNotSupported = 1;
+ initServerFull = 2;
+ initAuthFailure = 3;
+--- PokerTH-1.1.1-src/src/net/common/netpacket.cpp
++++ PokerTH-1.1.1-src.new/src/net/common/netpacket.cpp
+@@ -249,7 +249,7 @@
+ retVal = ErrorMessage::sessionTimeout;
+ break;
+ default :
+- retVal = ErrorMessage::reserved;
++ retVal = ErrorMessage::custReserved;
+ break;
+ }
+ return retVal;