mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
main/docbook2mdoc: support <address> element
Used by logcheck
This commit is contained in:
parent
0c6c1588b8
commit
8f1b49e678
2 changed files with 26 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
maintainer="John Vogel <jvogel@stygian.me>"
|
||||
pkgname=docbook2mdoc
|
||||
pkgver=1.1.0
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="DocBook to mdoc converter"
|
||||
url="https://mandoc.bsd.lv/docbook2mdoc/"
|
||||
arch="all"
|
||||
|
@ -13,7 +13,8 @@ subpackages="$pkgname-doc"
|
|||
options="!check" # no test suite
|
||||
source="https://mandoc.bsd.lv/docbook2mdoc/snapshots/docbook2mdoc-$pkgver.tgz
|
||||
fix-mandir.patch
|
||||
strtonum.patch"
|
||||
strtonum.patch
|
||||
address.patch"
|
||||
|
||||
build() {
|
||||
make
|
||||
|
@ -27,4 +28,5 @@ sha512sums="
|
|||
d935a12de59a1b91f51b3ddcc1047ce6e46f0490852c3ab1191402f6c2f9d8e79c57b1ad67ac7b2527c9aa4788f027ca6b83dffbcfed756af0422858713101be docbook2mdoc-1.1.0.tgz
|
||||
ff477e2f01275fa1dbcdb9c157c7086de76a66683855fba5cd7ac4c1fe0d258fde4869f4de12a740b5c0eee76e4f89d9e89fea9c528cfa0a4f2cf5bd9ebe3982 fix-mandir.patch
|
||||
e5673304bd817d12041ecc15c1c1e53ac03b57521b49d8b309ba2a695bc148da5946b9d90b195bbabbf8a1ac1055c086145bc6317762b469446ae77762156ed6 strtonum.patch
|
||||
3503c5711cb47b678a346faa7af9d083ae29c88ef8009167f3ec936a467a76d02c9985301ec68e1ac0cf12bb54ea0450f2446706ea644c877b399249a9c9c2d9 address.patch
|
||||
"
|
||||
|
|
22
main/docbook2mdoc/address.patch
Normal file
22
main/docbook2mdoc/address.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
Ref https://tdg.docbook.org/tdg/4.5/address
|
||||
|
||||
--- a/node.c
|
||||
+++ b/node.c
|
||||
@@ -33,6 +33,7 @@
|
||||
|
||||
static const struct nodeprop properties[] = {
|
||||
{ "abstract", CLASS_BLOCK },
|
||||
+ { "address", CLASS_BLOCK },
|
||||
{ "appendix", CLASS_BLOCK },
|
||||
{ "arg", CLASS_ENCL },
|
||||
{ "author", CLASS_LINE },
|
||||
--- a/node.h
|
||||
+++ b/node.h
|
||||
@@ -41,6 +41,7 @@
|
||||
*/
|
||||
enum nodeid {
|
||||
NODE_ABSTRACT,
|
||||
+ NODE_ADDRESS,
|
||||
NODE_APPENDIX,
|
||||
NODE_ARG,
|
||||
NODE_AUTHOR,
|
Loading…
Add table
Add a link
Reference in a new issue