diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-10-28 13:18:09 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-10-29 10:57:46 +0300 |
commit | ef86898671e8ed060fcc257d08419351db3021f6 (patch) | |
tree | 3789438d9200f87c95ea3ef5a73cef9bde4cd2e3 /libcmark-gfm-extensions/README-DEV | |
parent | 69f90ba321ca1bf1387cfdd83993009129db5129 (diff) |
Fix broken cmark-gfm-core-extensions.h
Diffstat (limited to 'libcmark-gfm-extensions/README-DEV')
-rw-r--r-- | libcmark-gfm-extensions/README-DEV | 16 |
1 files changed, 15 insertions, 1 deletions
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. |