From ef86898671e8ed060fcc257d08419351db3021f6 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 28 Oct 2021 13:18:09 +0300 Subject: Fix broken cmark-gfm-core-extensions.h --- libcmark-gfm-extensions/README-DEV | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'libcmark-gfm-extensions/README-DEV') diff --git a/libcmark-gfm-extensions/README-DEV b/libcmark-gfm-extensions/README-DEV index d350c92..b3460c2 100644 --- a/libcmark-gfm-extensions/README-DEV +++ b/libcmark-gfm-extensions/README-DEV @@ -5,7 +5,21 @@ upstream version. See ../README-DEV for general notes on cmark-gfm packaging. Symlink the required upstream files and directories into libcmark-gfm-extensions/: -$ ln -s ../../upstream/extensions libcmark-gfm-extensions +$ mkdir -p libcmark-gfm-extensions/extensions +$ pushd libcmark-gfm-extensions/extensions +$ ln -s ../../../upstream/extensions/*.{c,h} ./ + +Also patch the broken cmark-gfm-core-extensions.h header (see the reported +issue #244 for details): + +$ mv cmark-gfm-core-extensions.h cmark-gfm-core-extensions.h.orig +$ cp cmark-gfm-core-extensions.h.orig cmark-gfm-core-extensions.h +$ git apply fix-core-extensions-header.patch +$ popd + +Note that patches are produced by commands similar to the following: + +$ git diff >fix-core-extensions-header.patch Create cmark-gfm-extensions_export.h defining CMARK_GFM_EXTENSIONS_EXPORT macro. -- cgit v1.1