pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
openhexagon: avoid closing after 75 seconds of play.
Module Name: pkgsrc-wip
Committed By: Maya Rashish <maya%NetBSD.org@localhost>
Pushed By: coypu
Date: Fri May 8 13:54:36 2020 +0300
Changeset: d1479f0e4a9489793e404f2f926473f7a15f34b3
Modified Files:
openhexagon/distinfo
Added Files:
openhexagon/patches/patch-src_SSVOpenHexagon_Online_Online.cpp
Log Message:
openhexagon: avoid closing after 75 seconds of play.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d1479f0e4a9489793e404f2f926473f7a15f34b3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
openhexagon/distinfo | 1 +
.../patch-src_SSVOpenHexagon_Online_Online.cpp | 22 ++++++++++++++++++++++
2 files changed, 23 insertions(+)
diffs:
diff --git a/openhexagon/distinfo b/openhexagon/distinfo
index dd8a0eec23..1ad46f4aa2 100644
--- a/openhexagon/distinfo
+++ b/openhexagon/distinfo
@@ -9,3 +9,4 @@ RMD160 (SSVOpenHexagonAssets-1d125de695be2e74c9f2ad3198e8b5b29911d010.tar.gz) =
SHA512 (SSVOpenHexagonAssets-1d125de695be2e74c9f2ad3198e8b5b29911d010.tar.gz) = 616491b2378031f0b1ca124ecfb54448ad19a13979927ac58a588b6aa7af1ac4059194cfc2ee78739352938b843f09df8564e6dcd82201e8ccadae3cd7523d2e
Size (SSVOpenHexagonAssets-1d125de695be2e74c9f2ad3198e8b5b29911d010.tar.gz) = 43488512 bytes
SHA1 (patch-CMakeLists.txt) = be352f48dd9285853e2cacf89e81df9baed6fca9
+SHA1 (patch-src_SSVOpenHexagon_Online_Online.cpp) = 0676a63784d6e5ac0a24ba4b6a7ae5513c6c8d3a
diff --git a/openhexagon/patches/patch-src_SSVOpenHexagon_Online_Online.cpp b/openhexagon/patches/patch-src_SSVOpenHexagon_Online_Online.cpp
new file mode 100644
index 0000000000..d5b486764e
--- /dev/null
+++ b/openhexagon/patches/patch-src_SSVOpenHexagon_Online_Online.cpp
@@ -0,0 +1,22 @@
+$NetBSD$
+
+Avoid crash after 75 seconds.
+
+--- src/SSVOpenHexagon/Online/Online.cpp.orig 2013-07-13 23:37:47.000000000 +0000
++++ src/SSVOpenHexagon/Online/Online.cpp
+@@ -143,6 +143,7 @@ namespace hg
+ TcpSocket socket;
+ Packet packet0x01, packet0x11;
+ packet0x01 << int8_t{0x01} << (string)mValidator << (float)mDifficulty << (string)mName;
++#if 0
+ socket.connect(hostIp, hostPort); socket.send(packet0x01); socket.receive(packet0x11);
+ uint8_t packetID, pass;
+ string response[2];
+@@ -164,6 +165,7 @@ namespace hg
+ else log("Error: could not get scores", "Online");
+ }
+ socket.disconnect();
++#endif
+ log("Finished getting scores", "Online");
+ startGetFriendsScores(mTarget, mNames, mValidator, mDifficulty);
+ cleanUp();
Home |
Main Index |
Thread Index |
Old Index