telepathy-haze: fix build with current libpurple
[ci skip]
This commit is contained in:
parent
8c8636896f
commit
8ff4abb467
1 changed files with 25 additions and 0 deletions
25
srcpkgs/telepathy-haze/patches/purple-2.0.12.patch
Normal file
25
srcpkgs/telepathy-haze/patches/purple-2.0.12.patch
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
From: Koop Mast <kwm freebsd org>
|
||||||
|
Date: Mon, 11 Jan 2016 11:53:23 +0100
|
||||||
|
Subject: Fix the build with libpurple 2.0.12
|
||||||
|
|
||||||
|
http://pidgin.im/pipermail/devel/2015-March/023639.html
|
||||||
|
Replaces the old emu with the _PASSIVE.
|
||||||
|
|
||||||
|
Origin: vendor, FreeBSD, https://lists.freebsd.org/pipermail/svn-ports-head/2016-January/111612.html
|
||||||
|
---
|
||||||
|
src/media-stream.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/media-stream.c b/src/media-stream.c
|
||||||
|
index 7b4f29f..da088d1 100644
|
||||||
|
--- src/media-stream.c
|
||||||
|
+++ src/media-stream.c
|
||||||
|
@@ -1076,7 +1076,7 @@ haze_media_stream_new_native_candidate (TpSvcMediaStreamHandler *iface,
|
||||||
|
if (proto == TP_MEDIA_STREAM_BASE_PROTO_UDP)
|
||||||
|
protocol = PURPLE_MEDIA_NETWORK_PROTOCOL_UDP;
|
||||||
|
else if (proto == TP_MEDIA_STREAM_BASE_PROTO_TCP)
|
||||||
|
- protocol = PURPLE_MEDIA_NETWORK_PROTOCOL_TCP;
|
||||||
|
+ protocol = PURPLE_MEDIA_NETWORK_PROTOCOL_TCP_PASSIVE;
|
||||||
|
else
|
||||||
|
DEBUG ("Unknown network protocol");
|
||||||
|
|
Loading…
Reference in a new issue