diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-04-07 00:22:33 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-04-06 16:10:10 -0700 |
commit | 412cb3a15c7812c69660ae6e98dad6e01e09a7e9 (patch) | |
tree | cee7f1793f27db57b872052af4a22c864bd9302a /contrib/pw-am.sh | |
parent | 7e60ff535380b905f631a31f3f1228e78f1c117c (diff) | |
download | meta-openembedded-contrib-412cb3a15c7812c69660ae6e98dad6e01e09a7e9.tar.gz |
pidgin-sipe: fix g_memdup2 changes to be backwards compatible with glib-1.67
* current version unfortunatelly it isn't backwards compatible with glib-2.0-1.66.7 currently in oe-core master and hardknott and now fails with:
| ../../../pidgin-sipe-1.25.0/src/purple/../api/sipe-common.h:56:19: error: conflicting types for 'g_memdup'
| 56 | #define g_memdup2 g_memdup
| | ^~~~~~~~
that's because glibcompat.h provided by libpurple from pidgin always provides g_memdup2
so the AC_CHECK_LIB in configure.ac detects that it isn't available in glib-2.0 itself
and then tries to redefine it here.
Leave the fall-back on glibcompat.h and just replace g_memdup calls with g_memdup2.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'contrib/pw-am.sh')
0 files changed, 0 insertions, 0 deletions