From 18c419fcdb632870ec222e591565e89fdb5bd50c Mon Sep 17 00:00:00 2001 From: Pierre-Jean Texier Date: Tue, 9 Nov 2021 11:12:04 +0100 Subject: libmxml: upgrade 3.2 -> 3.3 mxml 3.3 is a bug fix release. Changes include: - Cleaned up usage of free throughout the library - Added more error handling to the library - Fixed potential memory leak in mxmlLoad* functions - Fixed mxmlSaveString with a buffer size of 0 - Fixed MXML_MINOR_VERSION value in "mxml.h" - Fixed POSIX threading support for MingW - Fixed some minor memory leaks found by Coverity. Signed-off-by: Pierre-Jean Texier Signed-off-by: Khem Raj --- meta-oe/recipes-support/libmxml/libmxml_3.2.bb | 33 -------------------------- meta-oe/recipes-support/libmxml/libmxml_3.3.bb | 33 ++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 33 deletions(-) delete mode 100644 meta-oe/recipes-support/libmxml/libmxml_3.2.bb create mode 100644 meta-oe/recipes-support/libmxml/libmxml_3.3.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-support/libmxml/libmxml_3.2.bb b/meta-oe/recipes-support/libmxml/libmxml_3.2.bb deleted file mode 100644 index 02443e27ff..0000000000 --- a/meta-oe/recipes-support/libmxml/libmxml_3.2.bb +++ /dev/null @@ -1,33 +0,0 @@ -DESCRIPTION = "Tiny XML Library" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" -HOMEPAGE = "https://www.msweet.org/mxml/" -BUGTRACKER = "https://github.com/michaelrsweet/mxml/issues" - -SRC_URI = "git://github.com/michaelrsweet/mxml.git;nobranch=1;protocol=https" -SRCREV = "38b044ed8ca2a611ed9ed3e26c4b46416335194e" -S = "${WORKDIR}/git" - -inherit autotools - -PACKAGECONFIG ??= "threads" -PACKAGECONFIG[threads] = "--enable-threads,--disable-threads" - -# Package does not support out of tree builds. -B = "${S}" - -# MXML uses autotools but it explicitly states it does not support autoheader. -EXTRA_AUTORECONF = "--exclude=autopoint,autoheader" - -do_configure:prepend() { - # Respect optimization CFLAGS specified by OE. - sed -e 's/-Os -g//' -i ${S}/configure.ac - - # Enable verbose compilation output. This is required for extra QA checks to work. - sed -e '/.SILENT:/d' -i ${S}/Makefile.in -} - -do_install() { - # Package uses DSTROOT instread of standard DESTDIR to specify install location. - oe_runmake install DSTROOT=${D} -} diff --git a/meta-oe/recipes-support/libmxml/libmxml_3.3.bb b/meta-oe/recipes-support/libmxml/libmxml_3.3.bb new file mode 100644 index 0000000000..c8e2167795 --- /dev/null +++ b/meta-oe/recipes-support/libmxml/libmxml_3.3.bb @@ -0,0 +1,33 @@ +DESCRIPTION = "Tiny XML Library" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" +HOMEPAGE = "https://www.msweet.org/mxml/" +BUGTRACKER = "https://github.com/michaelrsweet/mxml/issues" + +SRC_URI = "git://github.com/michaelrsweet/mxml.git;nobranch=1;protocol=https" +SRCREV = "0237559fdbcecae34157b547aa2b99e12de305a2" +S = "${WORKDIR}/git" + +inherit autotools + +PACKAGECONFIG ??= "threads" +PACKAGECONFIG[threads] = "--enable-threads,--disable-threads" + +# Package does not support out of tree builds. +B = "${S}" + +# MXML uses autotools but it explicitly states it does not support autoheader. +EXTRA_AUTORECONF = "--exclude=autopoint,autoheader" + +do_configure:prepend() { + # Respect optimization CFLAGS specified by OE. + sed -e 's/-Os -g//' -i ${S}/configure.ac + + # Enable verbose compilation output. This is required for extra QA checks to work. + sed -e '/.SILENT:/d' -i ${S}/Makefile.in +} + +do_install() { + # Package uses DSTROOT instread of standard DESTDIR to specify install location. + oe_runmake install DSTROOT=${D} +} -- cgit v1.2.3-54-g00ecf