Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37868366
en ru br
ALT Linux repos
S:0.8.1-alt1
5.0: 0.3.0-alt1
4.1: 0.2.0.1-alt0.M41.3

Group :: Networking/Instant messaging
RPM: telepathy-haze

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: telepathy-haze-0.8.0-alt-purple_2.0.12.patch
Download


--- src/media-stream.c.purple	2015-04-28 20:14:31.000000000 +0300
+++ src/media-stream.c	2016-02-16 12:26:34.559840796 +0300
@@ -23,6 +23,7 @@
 #include "config.h"
 #include "media-stream.h"
 
+#include <libpurple/version.h>
 #include <libpurple/media/backend-iface.h>
 #include <string.h>
 #include <telepathy-glib/dbus.h>
@@ -1076,7 +1077,11 @@
       if (proto == TP_MEDIA_STREAM_BASE_PROTO_UDP)
         protocol = PURPLE_MEDIA_NETWORK_PROTOCOL_UDP;
       else if (proto == TP_MEDIA_STREAM_BASE_PROTO_TCP)
+      #if PURPLE_VERSION_CHECK (2, 10, 12)
+        protocol = PURPLE_MEDIA_NETWORK_PROTOCOL_TCP_PASSIVE;
+      #else
         protocol = PURPLE_MEDIA_NETWORK_PROTOCOL_TCP;
+      #endif
       else
         DEBUG ("Unknown network protocol");
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin