aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2010-12-19 16:28:54 +0800
committermarcus <marcus@FreeBSD.org>2010-12-19 16:28:54 +0800
commitd3daee0b46448b0b63ff827b861b30293718b7d9 (patch)
tree1200b6571354a008cf11d3dbaa8a2fa7a29aa7e7 /net-im
parente09a93001b1671fcdbb3cb14513dbaa9d248e89b (diff)
downloadfreebsd-ports-gnome-d3daee0b46448b0b63ff827b861b30293718b7d9.tar.gz
freebsd-ports-gnome-d3daee0b46448b0b63ff827b861b30293718b7d9.tar.zst
freebsd-ports-gnome-d3daee0b46448b0b63ff827b861b30293718b7d9.zip
Fix a bug in the im module.
Diffstat (limited to 'net-im')
-rw-r--r--net-im/telepathy-butterfly/Makefile1
-rw-r--r--net-im/telepathy-butterfly/files/patch-butterfly_channel_im.py22
2 files changed, 23 insertions, 0 deletions
diff --git a/net-im/telepathy-butterfly/Makefile b/net-im/telepathy-butterfly/Makefile
index 32d787829fa9..f014c4f9a07d 100644
--- a/net-im/telepathy-butterfly/Makefile
+++ b/net-im/telepathy-butterfly/Makefile
@@ -8,6 +8,7 @@
PORTNAME= telepathy-butterfly
PORTVERSION= 0.5.15
+PORTREVISION= 1
CATEGORIES= net-im
MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/net-im/telepathy-butterfly/files/patch-butterfly_channel_im.py b/net-im/telepathy-butterfly/files/patch-butterfly_channel_im.py
new file mode 100644
index 000000000000..d539c5527ebb
--- /dev/null
+++ b/net-im/telepathy-butterfly/files/patch-butterfly_channel_im.py
@@ -0,0 +1,22 @@
+--- butterfly/channel/im.py.orig 2010-12-19 03:27:02.000000000 -0500
++++ butterfly/channel/im.py 2010-12-19 03:27:16.000000000 -0500
+@@ -30,7 +30,7 @@ import papyon.event
+
+ from butterfly.channel.text import ButterflyTextChannel
+
+-from butterfly.Channel_Interface_Conference import CHANNEL_INTERFACE_CONFERENCE
++#from butterfly.Channel_Interface_Conference import CHANNEL_INTERFACE_CONFERENCE
+
+ __all__ = ['ButterflyImChannel']
+
+@@ -144,8 +144,8 @@ class ButterflyImChannel(ButterflyTextCh
+ props = {
+ telepathy.CHANNEL + '.ChannelType': dbus.String(telepathy.CHANNEL_TYPE_TEXT),
+ telepathy.CHANNEL + '.TargetHandleType': dbus.UInt32(telepathy.HANDLE_TYPE_NONE),
+- CHANNEL_INTERFACE_CONFERENCE + '.InitialChannels': dbus.Array([self._object_path], signature='o'),
+- CHANNEL_INTERFACE_CONFERENCE + '.InitialInviteeIDs': dbus.Array([dbus.String(handle.get_name())], signature='s'),
++ telepathy.CHANNEL_INTERFACE_CONFERENCE + '.InitialChannels': dbus.Array([self._object_path], signature='o'),
++ telepathy.CHANNEL_INTERFACE_CONFERENCE + '.InitialInviteeIDs': dbus.Array([dbus.String(handle.get_name())], signature='s'),
+ telepathy.CHANNEL + '.Requested': dbus.Boolean(False)
+ }
+