Hi, update to 0.30.3. Some structs changed, thus I have to bump the library. The patch is upstream, so we can remove the patch file.
ok? bye, Jan Index: Makefile =================================================================== RCS file: /cvs/ports/textproc/cmark/Makefile,v retrieving revision 1.6 diff -u -p -r1.6 Makefile --- Makefile 30 Aug 2022 13:37:09 -0000 1.6 +++ Makefile 14 Feb 2023 14:23:02 -0000 @@ -2,10 +2,9 @@ COMMENT = CommonMark parsing and renderi GH_ACCOUNT = commonmark GH_PROJECT = cmark -GH_TAGNAME = 0.30.2 -REVISION = 0 +GH_TAGNAME = 0.30.3 -SHARED_LIBS += cmark 0.1 # 0.29 +SHARED_LIBS += cmark 0.2 # 0.30.3 CATEGORIES = textproc Index: distinfo =================================================================== RCS file: /cvs/ports/textproc/cmark/distinfo,v retrieving revision 1.3 diff -u -p -r1.3 distinfo --- distinfo 30 Aug 2022 11:26:26 -0000 1.3 +++ distinfo 14 Feb 2023 14:24:24 -0000 @@ -1,2 +1,2 @@ -SHA256 (cmark-0.30.2.tar.gz) = bH0ryuoUM9l32P7QtVtxydBFp832FuPNLc6QB9p1PbM= -SIZE (cmark-0.30.2.tar.gz) = 246033 +SHA256 (cmark-0.30.3.tar.gz) = hen7UVUxzCya4XbWk/mHF3SDDPHzI6Z1j7GHpRSNexY= +SIZE (cmark-0.30.3.tar.gz) = 246916 Index: patches/patch-src_cmark_h =================================================================== RCS file: patches/patch-src_cmark_h diff -N patches/patch-src_cmark_h --- patches/patch-src_cmark_h 30 Aug 2022 11:26:26 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,15 +0,0 @@ -Fix *cmark_get_default_mem_allocator(void) prototype -https://github.com/commonmark/cmark/commit/bf2be5954342b029afdc431040a9e5ad3d7e41e9 - -Index: src/cmark.h ---- src/cmark.h.orig -+++ src/cmark.h -@@ -102,7 +102,7 @@ typedef struct cmark_mem { - - /** Returns a pointer to the default memory allocator. - */ --CMARK_EXPORT cmark_mem *cmark_get_default_mem_allocator(); -+CMARK_EXPORT cmark_mem *cmark_get_default_mem_allocator(void); - - /** - * ## Creating and Destroying Nodes