]> git.pld-linux.org Git - packages/telepathy-gabble.git/commitdiff
- jabber at pld-linux.org is broken, patching for that auto/th/telepathy-gabble-0_9_13-2
authorPatryk Zawadzki <patrys@room-303.com>
Fri, 18 Jun 2010 13:50:01 +0000 (13:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel 2

Changed files:
    jabberd-compat.patch -> 1.1
    telepathy-gabble.spec -> 1.28

jabberd-compat.patch [new file with mode: 0644]
telepathy-gabble.spec

diff --git a/jabberd-compat.patch b/jabberd-compat.patch
new file mode 100644 (file)
index 0000000..0a00294
--- /dev/null
@@ -0,0 +1,42 @@
+--- telepathy-gabble-0.9.13/src/connection.c~  2010-06-14 15:57:03.000000000 +0200
++++ telepathy-gabble-0.9.13/src/connection.c   2010-06-18 15:44:05.279021780 +0200
+@@ -1690,24 +1690,25 @@
+   if (disco_error != NULL)
+     {
+       DEBUG ("Got disco error on bare jid: %s", disco_error->message);
+-      return;
+     }
+-
+-  for (i = node_iter (result); i; i = node_iter_next (i))
++  else
+     {
+-      LmMessageNode *child = node_iter_data (i);
+-
+-      if (!tp_strdiff (child->name, "identity"))
++      for (i = node_iter (result); i; i = node_iter_next (i))
+         {
+-          const gchar *category = lm_message_node_get_attribute (child,
+-              "category");
+-          const gchar *type = lm_message_node_get_attribute (child, "type");
+-
+-          if (!tp_strdiff (category, "pubsub") &&
+-              !tp_strdiff (type, "pep"))
++          LmMessageNode *child = node_iter_data (i);
++    
++          if (!tp_strdiff (child->name, "identity"))
+             {
+-              DEBUG ("Server advertises PEP support in our jid features");
+-              conn->features |= GABBLE_CONNECTION_FEATURES_PEP;
++              const gchar *category = lm_message_node_get_attribute (child,
++                  "category");
++              const gchar *type = lm_message_node_get_attribute (child, "type");
++    
++              if (!tp_strdiff (category, "pubsub") &&
++                  !tp_strdiff (type, "pep"))
++                {
++                  DEBUG ("Server advertises PEP support in our jid features");
++                  conn->features |= GABBLE_CONNECTION_FEATURES_PEP;
++                }
+             }
+         }
+     }
index d62d3a30467e46bdef9f27420d8a0fae79948340..bef0a16b9026447f857fded365eef086c211c464 100644 (file)
@@ -2,11 +2,12 @@ Summary:      A Telepathy connection manager for Jabber/XMPP
 Summary(pl.UTF-8):     Zarządca połączeń Telepathy dla Jabbera/XMPP
 Name:          telepathy-gabble
 Version:       0.9.13
-Release:       1
+Release:       2
 License:       LGPL
 Group:         Libraries
 Source0:       http://telepathy.freedesktop.org/releases/telepathy-gabble/%{name}-%{version}.tar.gz
 # Source0-md5: 2583938c52da620db076492569431bf6
+Patch0:                jabberd-compat.patch
 URL:           http://telepathy.freedesktop.org/wiki/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake >= 1:1.9
@@ -36,6 +37,7 @@ Zarządca połączeń pozwalający połączyć się Telepathy z Jabberem/XMPP.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
This page took 0.0355 seconds and 4 git commands to generate.