From 12208889a1e525f1d98e9bbf75b4fe0d14bdddc9 Mon Sep 17 00:00:00 2001 From: wangmy Date: Fri, 23 Jul 2021 10:10:17 +0800 Subject: [PATCH] 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 --- .../recipes-support/cmark/{cmark_0.30.0.bb => cmark_0.30.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-support/cmark/{cmark_0.30.0.bb => cmark_0.30.1.bb} (88%) diff --git a/meta-oe/recipes-support/cmark/cmark_0.30.0.bb b/meta-oe/recipes-support/cmark/cmark_0.30.1.bb similarity index 88% rename from meta-oe/recipes-support/cmark/cmark_0.30.0.bb rename to meta-oe/recipes-support/cmark/cmark_0.30.1.bb index c52a040645d..e2db8aa762c 100644 --- a/meta-oe/recipes-support/cmark/cmark_0.30.0.bb +++ b/meta-oe/recipes-support/cmark/cmark_0.30.1.bb @@ -4,7 +4,7 @@ LICENSE = "BSD-2-Clause & MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=81f9cae6293cc0345a9144b78152ab62" SRC_URI = "git://github.com/commonmark/cmark.git" -SRCREV = "8800e66010214384e75f933830ca5585e1ae3060" +SRCREV = "977b128291c0cf6c5053cdcf2ac72e627f09c105" S = "${WORKDIR}/git" inherit cmake lib_package