aboutsummaryrefslogtreecommitdiff
path: root/network/pidgin-sipe/sipe-purple-2.8.0.patch
blob: f5f03215c5414c5df08a31c0467ce1ce5baf83b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
diff -drupN pidgin-sipe-1.11.2/src/purple/purple-dnsquery.c pidgin-sipe-1.11.2-new/src/purple/purple-dnsquery.c
--- pidgin-sipe-1.11.2/src/purple/purple-dnsquery.c	2010-11-03 05:13:51.000000000 +0100
+++ pidgin-sipe-1.11.2-new/src/purple/purple-dnsquery.c	2011-06-11 00:14:57.000000000 +0200
@@ -22,6 +22,10 @@
 
 #include "glib.h"
 
+#include "version.h"
+#if PURPLE_VERSION_CHECK(2,8,0)
+#include "account.h"
+#endif
 #include "dnssrv.h"
 
 #include "sipe-backend.h"
diff -drupN pidgin-sipe-1.11.2/src/purple/purple-plugin.c pidgin-sipe-1.11.2-new/src/purple/purple-plugin.c
--- pidgin-sipe-1.11.2/src/purple/purple-plugin.c	2010-11-03 05:13:51.000000000 +0100
+++ pidgin-sipe-1.11.2-new/src/purple/purple-plugin.c	2011-06-10 23:58:20.000000000 +0200
@@ -506,6 +506,10 @@ static PurplePluginProtocolInfo prpl_inf
 	NULL,					/* get_moods */
 	NULL,					/* set_public_alias */
 	NULL,					/* get_public_alias */
+#if PURPLE_VERSION_CHECK(2,8,0)
+	NULL,					/* add_buddy_with_invite */
+	NULL,					/* add_buddies_with_invite */
+#endif
 #endif
 #endif
 #endif
diff -drupN pidgin-sipe-1.11.2/src/purple/purple-private.h pidgin-sipe-1.11.2-new/src/purple/purple-private.h
--- pidgin-sipe-1.11.2/src/purple/purple-private.h	2010-11-03 05:13:51.000000000 +0100
+++ pidgin-sipe-1.11.2-new/src/purple/purple-private.h	2011-06-11 00:14:49.000000000 +0200
@@ -20,18 +20,28 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#include "version.h"
+
 /* Forward declarations */
 struct sipe_core_public;
 struct _PurpleAccount;
 struct _PurpleConnection;
+#if PURPLE_VERSION_CHECK(2,8,0)
+struct _PurpleSrvTxtQueryData;
+#else
 struct _PurpleSrvQueryData;
+#endif
 struct _PurpleXfer;
 
 struct sipe_backend_private {
 	struct sipe_core_public *public;
 	struct _PurpleConnection *gc;
 	struct _PurpleAccount *account;
+#if PURPLE_VERSION_CHECK(2,8,0)
+	struct _PurpleSrvTxtQueryData *dns_query;
+#else
 	struct _PurpleSrvQueryData *dns_query;
+#endif
 	time_t last_keepalive;
 };