Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2016 11:53:23 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405775 - in head/net-im/telepathy-haze: . files
Message-ID:  <201601111153.u0BBrN8X032147@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Mon Jan 11 11:53:23 2016
New Revision: 405775
URL: https://svnweb.freebsd.org/changeset/ports/405775

Log:
  Fix the build with libpurple 2.0.12.

Added:
  head/net-im/telepathy-haze/files/
  head/net-im/telepathy-haze/files/patch-src_media-stream.c   (contents, props changed)
Modified:
  head/net-im/telepathy-haze/Makefile

Modified: head/net-im/telepathy-haze/Makefile
==============================================================================
--- head/net-im/telepathy-haze/Makefile	Mon Jan 11 11:07:43 2016	(r405774)
+++ head/net-im/telepathy-haze/Makefile	Mon Jan 11 11:53:23 2016	(r405775)
@@ -1,9 +1,9 @@
 # Created by: Michael Johnson <ahze@FreeBSD.org>
 # $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/
 

Added: head/net-im/telepathy-haze/files/patch-src_media-stream.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/telepathy-haze/files/patch-src_media-stream.c	Mon Jan 11 11:53:23 2016	(r405775)
@@ -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");
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601111153.u0BBrN8X032147>