Pidgin 2.x.y does not compile

Bjoern Voigt bjoernv at arcor.de
Sun Nov 1 12:08:44 EST 2015


With this little fix I am able to compile and run Pidgin 2.10.12devel:

diff -r d8de636e63df libpurple/protocols/oscar/oscar.c
--- a/libpurple/protocols/oscar/oscar.c Wed Oct 14 19:32:15 2015 -0700
+++ b/libpurple/protocols/oscar/oscar.c Sun Nov 01 18:07:00 2015 +0100
@@ -548,7 +548,7 @@
 static int
 flap_connection_established(OscarData *od, FlapConnection *conn,
FlapFrame *fr, ...)
 {
-       conn->conn = TRUE;
+       conn->connected = TRUE;
        purple_debug_info("oscar", "FLAP connection of type 0x%04hx is "
                        "now fully connected\n", conn->type);
        if (conn->type == SNAC_FAMILY_LOCATE)

Greetings,
Björn

Bjoern Voigt wrote:
> Since some weeks I can not compile Pidgin (release-2.x.y branch)
> because of an inconsistency in Oscar plugin:
>
> $ make
> [...]
> make[5]: Entering directory
> '/home/user/pidgin-hg-2.x.y/libpurple/protocols/oscar'
>   CC       liboscar_la-oscar.lo
> oscar.c: In function 'flap_connection_established':
> oscar.c:551:6: error: 'FlapConnection' has no member named 'conn'
>   conn->conn = TRUE;
>       ^
> [...]
>
> oscar.c:551:
> static int
> flap_connection_established(OscarData *od, FlapConnection *conn,
> FlapFrame *fr, ...)
> {
>     conn->conn = TRUE;
> [...]
>
> FlapConnection (defined in libpurple/protocols/oscar/oscar.h) really
> has no member "conn".



More information about the Devel mailing list