There were some changes in libpurple-2.8.0 API that leads to compilation problems in pidgin-sipe-1.11.2.
As a package maintainer in Arch AUR for pidgin-sipe, I've created a patch. The developpers might be interested to integrate it in the upstream:
The patch name is sipe-purple-2.8.0.patch and is packed in the above archive (in fact it's a source package in Arch).
git HEAD compiles against libpurple 2.8.0 API.
sorry: please cherry pick commit ec3a8ba61c6801505780fd079486e6c1150a9f3d
I don't see the need for the second set of changes in your patch. On my machine sipe git HEAD compiles without it against pidgin monotone HEAD (i.e. 2.8.1).
Doooh, no wonder: git HEAD no longer uses _PurpleSrvQueryData..
In fact I didn't try to fetch the sources from repos. I'm glad it builds there. We'll wait for the official release now.