tags 582998 + patch
thanks

The attached patches fix the build error.

>From 9c04de2fcb941178140fc97eea69d24bbc5a15bc Mon Sep 17 00:00:00 2001
From: Stefan Becker <stefan.bec...@nokia.com>
Date: Sat, 27 Mar 2010 21:14:07 +0200
Subject: [PATCH] Make it compile against purple 2.7.x API

Tested with latest im.pidgin.pidgin snapshot.
---
 src/core/sipe.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/core/sipe.c b/src/core/sipe.c
index b6f54c4..aca7c5d 100644
--- a/src/core/sipe.c
+++ b/src/core/sipe.c
@@ -10334,6 +10334,9 @@ PurplePluginProtocolInfo prpl_info =
 #if PURPLE_VERSION_CHECK(2,6,0)
 	NULL,					/* initiate_media */
 	NULL,					/* get_media_caps */
+#if PURPLE_VERSION_CHECK(2,7,0)
+	NULL,					/* get_moods */
+#endif
 #endif
 #endif
 };
-- 
1.6.5.GIT
>From 11bc71b3ab12bad4a90b425aa060ff471b4d741f Mon Sep 17 00:00:00 2001
From: Anibal Avelar <aave...@cofradia.org>
Date: Mon, 28 Jun 2010 00:04:03 -0500
Subject: [PATCH] Make it compile against the final purple 2.7.0 API

Two more hooks were added since the last check :-(
---
 src/core/sipe.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/core/sipe.c b/src/core/sipe.c
index 45a9015..36c2adb 100644
--- a/src/core/sipe.c
+++ b/src/core/sipe.c
@@ -10683,6 +10683,8 @@ PurplePluginProtocolInfo prpl_info =
 	NULL,					/* get_media_caps */
 #if PURPLE_VERSION_CHECK(2,7,0)
 	NULL,					/* get_moods */
+        NULL,                                   /* set_public_alias */
+        NULL,                                   /* get_public_alias */
 #endif
 #endif
 #endif
-- 
1.6.5.GIT

Reply via email to