diff mbox series

[meta-oe,3/3] pidgin-sipe: allow to build with libxml2-2.11

Message ID 20230628195610.744894-3-Martin.Jansa@gmail.com
State Under Review
Headers show
Series [meta-oe,1/3] nodejs: use PIE for host binaries | expand

Commit Message

Martin Jansa June 28, 2023, 7:56 p.m. UTC
* deprecated since libxml2-2.11 upgraded in oe-core in:
  https://git.openembedded.org/openembedded-core/commit/?id=24860598ba8557ea3a145f249938ea411f1ef1d8

* avoids:
| ../../../pidgin-sipe-1.25.0/src/core/sipe-xml.c: In function 'sipe_xml_parse':
| ../../../pidgin-sipe-1.25.0/src/core/sipe-xml.c:220:17: error: 'xmlSAXUserParseMemory' is deprecated [-Werror=deprecated-declarations]
|   220 |                 if (xmlSAXUserParseMemory(&parser, pd, string, length))
|       |                 ^~

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb b/meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb
index c0e1790ec2..90e1701488 100644
--- a/meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb
+++ b/meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb
@@ -35,3 +35,5 @@  FILES:${PN} += " \
     ${datadir}/appdata \
     ${datadir}/metainfo \
 "
+
+CFLAGS = "-Wno-error=deprecated-declarations"