git: eafaf14b790e - main - textproc/docbook2mdoc: patch to support <address>
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Sep 2022 10:22:01 UTC
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=eafaf14b790e1e7ca94ddcfa35659a0d53765ebd commit eafaf14b790e1e7ca94ddcfa35659a0d53765ebd Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2022-09-15 10:07:27 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2022-09-15 10:20:28 +0000 textproc/docbook2mdoc: patch to support <address> The xdg-utils docbook uses a "address" tag, this allows to use docbook2mdoc to convert xdg-utils docbook files to manpages or text files --- textproc/docbook2mdoc/Makefile | 1 + textproc/docbook2mdoc/files/patch-node.c | 10 ++++++++++ textproc/docbook2mdoc/files/patch-node.h | 10 ++++++++++ 3 files changed, 21 insertions(+) diff --git a/textproc/docbook2mdoc/Makefile b/textproc/docbook2mdoc/Makefile index b17cf2511d4b..040c6c8b55f7 100644 --- a/textproc/docbook2mdoc/Makefile +++ b/textproc/docbook2mdoc/Makefile @@ -1,5 +1,6 @@ PORTNAME= docbook2mdoc PORTVERSION= 1.1.0 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://mdocml.bsd.lv/docbook2mdoc/snapshots/ diff --git a/textproc/docbook2mdoc/files/patch-node.c b/textproc/docbook2mdoc/files/patch-node.c new file mode 100644 index 000000000000..5e02c91231a9 --- /dev/null +++ b/textproc/docbook2mdoc/files/patch-node.c @@ -0,0 +1,10 @@ +--- node.c.orig 2022-09-15 07:09:04 UTC ++++ node.c +@@ -33,6 +33,7 @@ static const struct nodeprop properties[] = { + + static const struct nodeprop properties[] = { + { "abstract", CLASS_BLOCK }, ++ { "address", CLASS_LINE }, + { "appendix", CLASS_BLOCK }, + { "arg", CLASS_ENCL }, + { "author", CLASS_LINE }, diff --git a/textproc/docbook2mdoc/files/patch-node.h b/textproc/docbook2mdoc/files/patch-node.h new file mode 100644 index 000000000000..526783f89257 --- /dev/null +++ b/textproc/docbook2mdoc/files/patch-node.h @@ -0,0 +1,10 @@ +--- node.h.orig 2019-05-02 13:37:55 UTC ++++ node.h +@@ -41,6 +41,7 @@ enum nodeid { + */ + enum nodeid { + NODE_ABSTRACT, ++ NODE_ADDRESS, + NODE_APPENDIX, + NODE_ARG, + NODE_AUTHOR,