summaryrefslogtreecommitdiff
path: root/media-tv/tv-lite/files/tv-lite-0.7.6-sopprotocol.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/tv-lite/files/tv-lite-0.7.6-sopprotocol.patch')
-rw-r--r--media-tv/tv-lite/files/tv-lite-0.7.6-sopprotocol.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/media-tv/tv-lite/files/tv-lite-0.7.6-sopprotocol.patch b/media-tv/tv-lite/files/tv-lite-0.7.6-sopprotocol.patch
new file mode 100644
index 00000000..25d31362
--- /dev/null
+++ b/media-tv/tv-lite/files/tv-lite-0.7.6-sopprotocol.patch
@@ -0,0 +1,44 @@
+diff -Nur a/sopprotocol.cpp b/sopprotocol.cpp
+--- a/sopprotocol.cpp 2023-04-29 18:43:36.000000000 +0100
++++ b/sopprotocol.cpp 2024-02-09 16:14:43.390296277 +0000
+@@ -52,7 +52,7 @@
+
+ ///////////////////////////////////////////////////////////////////////////
+
+-void CSopProtocol::SetProtoPort(uint32_t port)
++void CSopProtocol::SetProtoPort(wxInt32 port)
+ {
+ m_protoport = port;
+ };
+@@ -66,7 +66,7 @@
+
+ ///////////////////////////////////////////////////////////////////////////
+
+-void CSopProtocol::SetPlayerPort(uint32_t port)
++void CSopProtocol::SetPlayerPort(wxInt32 port)
+ {
+ m_playerport = port;
+ };
+diff -Nur a/sopprotocol.h b/sopprotocol.h
+--- a/sopprotocol.h 2023-04-29 18:43:36.000000000 +0100
++++ b/sopprotocol.h 2024-02-09 16:14:32.763295637 +0000
+@@ -31,15 +31,15 @@
+ void SetCmd(wxString cmd);
+
+ int GetProtoport();
+- void SetProtoPort(uint32_t port);
++ void SetProtoPort(wxInt32 port);
+
+ int GetPlayerPort();
+- void SetPlayerPort(uint32_t port);
++ void SetPlayerPort(wxInt32 port);
+
+
+ private:
+- uint32_t m_playerport;
+- uint32_t m_protoport;
++ wxInt32 m_playerport;
++ wxInt32 m_protoport;
+ long m_protopid;
+ int SearchSop(wxString &cmd);
+