Update:
I think I managed to figure out a (possibly suboptimal) way to do this. For others who are interested, here's what I did (also please point out any errors that this might introduce and/or better ways to do this):
Code:
mkdir dteirney
mkdir tsp
cd dteirney
git clone --branch myth-0.25 https://github.com/dteirney/xbmc.git
cd xbmc
git diff 00e6c1c559fc3a22e059197b6f1aa7879a39939b > ../xbmc-myth-0.25.patch
cd ../tsp
git clone https://github.com/tsp/xbmc.git (assuming you haven't already checked this out)
patch -p1 < ../../dteirney/xbmc-myth-0.25.patchI found that there were 2 hunks that failed to apply in the file connection.c. I loaded the connection.c.rej file:
Code:
--- lib/cmyth/libcmyth/connection.c
+++ lib/cmyth/libcmyth/connection.c
@@ -731,6 +746,12 @@
__FUNCTION__, host, port, buflen);
goto shut;
}
+ /*
+ * Explicitly set the conn version to the control version as cmyth_connect() doesn't and some of
+ * the cmyth_rcv_* functions expect it to be the same as the protocol version used by mythbackend.
+ */
+ conn->conn_version = control->conn_version;
+
ann_size += strlen(path) + strlen(my_hostname);
announcement = malloc(ann_size);
if (!announcement) {
@@ -740,7 +761,7 @@
goto shut;
}
if (control->conn_version >= 44) {
- sprintf(announcement, "ANN FileTransfer %s[]:[]%s[]:[]",
+ sprintf(announcement, "ANN FileTransfer %s 0[]:[]%s[]:[]", // write = false
my_hostname, path);
}
else {And manually applied the first hunk to connection.c (the second seemed to be not relevant anymore, because of changes in tsp's branch).

Search
Help