DMJC / purple-facebook

Facebook protocol plugin for libpurple
GNU General Public License v2.0
8 stars 1 forks source link

Allow building on Ubuntu 20.04 #1

Closed peci1 closed 2 months ago

peci1 commented 2 months ago

Ubuntu 20.04 comes with GLib 2.64. This fork uses g_memdup2, which was added in 2.68.

Could you please correctly #ifdef around the uses so that it is possible to build with older glib?

This PR is not an actual PR fixing the issue. But as issues are not available for this repo, this is one of the workarounds to contact you. I don't know meson build system enough to understand how to check for glib version and pass it to C preprocessor.

DMJC commented 2 months ago

I've implemented this in the codebase, if you have issues with it raise an issue and I'll take another look.