From ef435b7f938d61d0a49d26f95ac5c1e6fbe685f5 Mon Sep 17 00:00:00 2001 From: kwm Date: Mon, 11 Jan 2016 11:53:23 +0000 Subject: Fix the build with libpurple 2.0.12. --- net-im/telepathy-haze/Makefile | 2 +- net-im/telepathy-haze/files/patch-src_media-stream.c | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 net-im/telepathy-haze/files/patch-src_media-stream.c (limited to 'net-im') diff --git a/net-im/telepathy-haze/Makefile b/net-im/telepathy-haze/Makefile index 08eb87739db0..b4d2fbd8230f 100644 --- a/net-im/telepathy-haze/Makefile +++ b/net-im/telepathy-haze/Makefile @@ -1,9 +1,9 @@ # Created by: Michael Johnson # $FreeBSD$ -# $MCom: ports/trunk/net-im/telepathy-haze/Makefile 19801 2014-08-13 09:46:10Z gusi $ PORTNAME= telepathy-haze PORTVERSION= 0.8.0 +PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= http://telepathy.freedesktop.org/releases/telepathy-haze/ diff --git a/net-im/telepathy-haze/files/patch-src_media-stream.c b/net-im/telepathy-haze/files/patch-src_media-stream.c new file mode 100644 index 000000000000..3757d0dc0d87 --- /dev/null +++ b/net-im/telepathy-haze/files/patch-src_media-stream.c @@ -0,0 +1,15 @@ +This patch fixes a build with libpurple 2.0.12. + +http://pidgin.im/pipermail/devel/2015-March/023639.html +Replaces the old emu with the _PASSIVE. +--- src/media-stream.c.orig 2016-01-11 12:37:14.015586000 +0100 ++++ src/media-stream.c 2016-01-11 12:39:24.449684000 +0100 +@@ -1076,7 +1076,7 @@ + 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"); + -- cgit