From 3a6d209caa07e3be8e8423251b70c8bbeeedb17f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 12 Apr 2024 00:33:29 +0100 Subject: gentoo auto-resync : 12:04:2024 - 00:33:28 --- app-text/cmark/Manifest | 3 ++- app-text/cmark/cmark-0.31.0.ebuild | 4 ++++ app-text/cmark/files/cmark-0.31.0_fix_api_test.patch | 17 +++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 app-text/cmark/files/cmark-0.31.0_fix_api_test.patch (limited to 'app-text/cmark') diff --git a/app-text/cmark/Manifest b/app-text/cmark/Manifest index 461b076b3a84..73b60ca05eed 100644 --- a/app-text/cmark/Manifest +++ b/app-text/cmark/Manifest @@ -1,5 +1,6 @@ +AUX cmark-0.31.0_fix_api_test.patch 635 BLAKE2B 8dab955156da6958fb80acfa88bf6eb658fc0e4cd863fd1bb845655730c34b834c7e864aa3480c9e5fa2baebeac795d8356b8fb9e9db4af3c99c1299d84c61fc SHA512 3e9cdbc1205b722b979a39c09606c6b83f57dc44b8f855094204782896e81e24703eae65255515422d3324e375080e98d33a24ca55b681eff55cd5a4912df0a0 DIST cmark-0.30.3.tar.gz 246916 BLAKE2B b63027e1a7d6db21c3b1bfc89deaebb202972cf65b3ddc51f20d6cb2dacfb6724dffd226f3cace1b25dda2cd87bdb201b82779bd7a6068c5f9751513bda226ae SHA512 27383bfef95ae1390c26aff0dd2cbca33704e7d20116bf29da4695d2c9a4146b86daba0da1e91bdb9eab95671702f885e832b3d31d51601731f1dc630df5237b DIST cmark-0.31.0.tar.gz 251922 BLAKE2B 9532255066cd21e99de430787f261b3014c4d270e8243aa258bb9c90cf2ccfd7138dcff2e15f576cc28ee6b6b7901c0f321f5ead6a9202e06b4223288f326897 SHA512 768d456147cb8f5cf36e8122213ad053098201e118109a316518a6a5e721ac94f62af29abe1e69120c84bdc227a5c320803ea2cf320c6d9a719d62909b6533bd EBUILD cmark-0.30.3.ebuild 758 BLAKE2B 5879cf4fc8327ecd1967c76086781a35922a82e103bc0b78146015ebad81f47f6fa0a3424091b9f33fde5e19430721e3ee113503d89ad3846001a763fdd4555f SHA512 fe0d0f71e1aecb42e6808fc61ec3f26f647317a8c01966ff72609fdcd183144415e28ac4b0902917306941c5a9706d43e803a8039457a534b32bbd38775d63ef -EBUILD cmark-0.31.0.ebuild 750 BLAKE2B 5bd5cf28790cdfc8b5c866ec297f6b9d11912b940f177983e148e3aa91577c8d9e06a3b240ed11b493772a3d70690646a9ae7dc6a1bf4b1189064a101336cab5 SHA512 5435dda61ad23cb6e84dc9a39a9379d712b9539d11d6170ebf382f7b1ee186a4c75e762419bab496a7ea838828f14c494026af989c054af817af83b9e9a03985 +EBUILD cmark-0.31.0.ebuild 810 BLAKE2B 8e6a80fd4def3bae7ffab0601bf46d85f36100c28377720866a73442b2059c733fd1dcf60a8e825744edb5cb92512cdeb8b8fb8a8a440006bf9f44cf0e1129c9 SHA512 303438ad10e8490489253946d12656bffa387a7c523d1f1405255c588d73d0fab9d5023665d7cde59ec65ea35621b111008e8d0fd3d3bad3cf42c9254a79bd00 MISC metadata.xml 504 BLAKE2B 5b9b29ddcf02b115bc37aeb217236e5092363991b75247f7d7c5da7e7fe0c5bf15ff0a397b332faefd2b150ff9cc239d4996caf6131306240efd641bffe52431 SHA512 f2ebd2271483a1847c63df11e0e6fa057abe8f19323d86f0632904e03ae321b1e689a98ab941e4d7ebaa50ee9220242f1488b35b08f73cec736df5c0a0024713 diff --git a/app-text/cmark/cmark-0.31.0.ebuild b/app-text/cmark/cmark-0.31.0.ebuild index da5a39b33e87..9d990ce41277 100644 --- a/app-text/cmark/cmark-0.31.0.ebuild +++ b/app-text/cmark/cmark-0.31.0.ebuild @@ -19,6 +19,10 @@ RESTRICT="!test? ( test )" BDEPEND="test? ( ${PYTHON_DEPS} )" +PATCHES=( + "${FILESDIR}/cmark-0.31.0_fix_api_test.patch" +) + pkg_setup() { use test && python-any-r1_pkg_setup } diff --git a/app-text/cmark/files/cmark-0.31.0_fix_api_test.patch b/app-text/cmark/files/cmark-0.31.0_fix_api_test.patch new file mode 100644 index 000000000000..defecc445c4e --- /dev/null +++ b/app-text/cmark/files/cmark-0.31.0_fix_api_test.patch @@ -0,0 +1,17 @@ +https://github.com/commonmark/cmark/commit/a739d4911b5fa5586679b8e55999719cc910d26b +From: John MacFarlane +Date: Wed, 13 Mar 2024 14:31:28 -0700 +Subject: [PATCH] Flag root node as open... + +in `cmark_parser_new_with_mem_into_root`. Closes #532. +--- a/src/blocks.c ++++ b/src/blocks.c +@@ -98,6 +98,8 @@ cmark_parser *cmark_parser_new_with_mem_into_root(int options, cmark_mem *mem, c + cmark_strbuf_init(mem, &parser->linebuf, 0); + cmark_strbuf_init(mem, &parser->content, 0); + ++ root->flags = CMARK_NODE__OPEN; ++ + parser->refmap = cmark_reference_map_new(mem); + parser->root = root; + parser->current = root; -- cgit v1.2.3