# HG changeset patch # User Evan Schoenberg # Date 1195328361 0 # Node ID e3bad210e005130cf772e886e56a89e9b46bba00 # Parent dccfd999ffe7220a1265ecc829487e97ccf53936 Fixed static linkage of msnp9 in the most straightforward way I could see, which is to have the purple_init_##pluginname##_plugin() function match the directory name, msnp9 diff -r dccfd999ffe7 -r e3bad210e005 libpurple/Makefile.am --- a/libpurple/Makefile.am Sat Nov 17 17:27:48 2007 +0000 +++ b/libpurple/Makefile.am Sat Nov 17 19:39:21 2007 +0000 @@ -237,6 +237,8 @@ $(LIBXML_LIBS) \ $(LIBNM_LIBS) \ $(INTLLIBS) \ + $(SASL_LIBS) \ + $(MEANWHILE_LIBS) \ -lm AM_CPPFLAGS = \ diff -r dccfd999ffe7 -r e3bad210e005 libpurple/protocols/msnp9/msn.c --- a/libpurple/protocols/msnp9/msn.c Sat Nov 17 17:27:48 2007 +0000 +++ b/libpurple/protocols/msnp9/msn.c Sat Nov 17 19:39:21 2007 +0000 @@ -2218,4 +2218,4 @@ PURPLE_CALLBACK(msn_uri_handler), NULL); } -PURPLE_INIT_PLUGIN(msn, init_plugin, info); +PURPLE_INIT_PLUGIN(msnp9, init_plugin, info); diff -r dccfd999ffe7 -r e3bad210e005 libpurple/protocols/myspace/myspace.h --- a/libpurple/protocols/myspace/myspace.h Sat Nov 17 17:27:48 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.h Sat Nov 17 19:39:21 2007 +0000 @@ -41,7 +41,7 @@ #include "notify.h" #include "plugin.h" #include "accountopt.h" -#include "version.h" +#include "libpurple/version.h" #include "cipher.h" /* for SHA-1 */ #include "util.h" /* for base64 */ #include "debug.h" /* for purple_debug_info */ diff -r dccfd999ffe7 -r e3bad210e005 libpurple/signals.c --- a/libpurple/signals.c Sat Nov 17 17:27:48 2007 +0000 +++ b/libpurple/signals.c Sat Nov 17 19:39:21 2007 +0000 @@ -450,6 +450,13 @@ instance_data = (PurpleInstanceData *)g_hash_table_lookup(instance_table, instance); + if (instance_data == NULL) + { + purple_debug(PURPLE_DEBUG_ERROR, "signals", + "Instance data for %s not found!\n", signal); + return; + } + g_return_if_fail(instance_data != NULL); signal_data =