From 4d6141dd1df7c5f8d7376821e850057de7531544 Mon Sep 17 00:00:00 2001 From: wangmy Date: Fri, 23 Jul 2021 10:10:17 +0800 Subject: cmark: upgrade 0.30.0 -> 0.30.1 Changelog: Properly indent block-level contents of list items in man (#258). https://github.com/commonmark/cmark/issues/258 This handles nested lists as well as items with multiple paragraphs. The change requires addition of a new field block_number_in_list_item to cmark_renderer, but this does not change the public API. Fix quadratic behavior when parsing emphasis (#389, Nick Wellnhofer). Delimiters can be deleted, so store delimiter positions instead of pointers in openers_bottom. Besides causing undefined behavior when reading a dangling pointer, this could also result in quadratic behavior when parsing emphasis. https://github.com/commonmark/cmark/issues/389 Fix quadratic behavior when parsing smart quotes (#388, Nick Wellnhofer). Remove matching smart quote delimiters. Otherwise, the same opener could be found over and over, preventing the openers_bottom optimization from kicking in and leading to quadratic behavior when processing lots of quotes. https://github.com/commonmark/cmark/issues/388 Modify CMake configuration so that the project can be built with older versions of CMake (#384, Saleem Abdulrasool). (In 0.30.0, some features were used that require CMake >= 3.3.) The cost of this backwards compatibility is that developers must now explicitly invoke cmark_add_compile_options when a new compilation target is added. https://github.com/commonmark/cmark/issues/384 Remove a comma at the end of an enumerator list, which was flagged by clang as a C++11 extension. make_man_page.py: use absolute path with CDLL. This avoids the error "file system relative paths not allowed in hardened programs." Include cmark version in cmark(3) man page (instead of LOCAL). Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-support/cmark/cmark_0.30.0.bb | 15 --------------- meta-oe/recipes-support/cmark/cmark_0.30.1.bb | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 meta-oe/recipes-support/cmark/cmark_0.30.0.bb create mode 100644 meta-oe/recipes-support/cmark/cmark_0.30.1.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-support/cmark/cmark_0.30.0.bb b/meta-oe/recipes-support/cmark/cmark_0.30.0.bb deleted file mode 100644 index c52a040645..0000000000 --- a/meta-oe/recipes-support/cmark/cmark_0.30.0.bb +++ /dev/null @@ -1,15 +0,0 @@ -SUMMARY = "CommonMark parsing and rendering library and program in C" -HOMEPAGE = "https://github.com/commonmark/cmark" -LICENSE = "BSD-2-Clause & MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=81f9cae6293cc0345a9144b78152ab62" - -SRC_URI = "git://github.com/commonmark/cmark.git" -SRCREV = "8800e66010214384e75f933830ca5585e1ae3060" -S = "${WORKDIR}/git" - -inherit cmake lib_package - -EXTRA_OECMAKE += " \ - -DCMARK_TESTS=OFF \ - -DCMARK_STATIC=OFF \ -" diff --git a/meta-oe/recipes-support/cmark/cmark_0.30.1.bb b/meta-oe/recipes-support/cmark/cmark_0.30.1.bb new file mode 100644 index 0000000000..e2db8aa762 --- /dev/null +++ b/meta-oe/recipes-support/cmark/cmark_0.30.1.bb @@ -0,0 +1,15 @@ +SUMMARY = "CommonMark parsing and rendering library and program in C" +HOMEPAGE = "https://github.com/commonmark/cmark" +LICENSE = "BSD-2-Clause & MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=81f9cae6293cc0345a9144b78152ab62" + +SRC_URI = "git://github.com/commonmark/cmark.git" +SRCREV = "977b128291c0cf6c5053cdcf2ac72e627f09c105" +S = "${WORKDIR}/git" + +inherit cmake lib_package + +EXTRA_OECMAKE += " \ + -DCMARK_TESTS=OFF \ + -DCMARK_STATIC=OFF \ +" -- cgit v1.2.3-54-g00ecf