summaryrefslogtreecommitdiff
path: root/user/nftables/asciidoctor.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/nftables/asciidoctor.patch')
-rw-r--r--user/nftables/asciidoctor.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/user/nftables/asciidoctor.patch b/user/nftables/asciidoctor.patch
new file mode 100644
index 000000000..7a7ed0fd7
--- /dev/null
+++ b/user/nftables/asciidoctor.patch
@@ -0,0 +1,28 @@
+From ee7aad965b044bb555dc9fe27991c0e05f14e7dc Mon Sep 17 00:00:00 2001
+From: Luis Ressel <aranea@aixah.de>
+Date: Tue, 9 Jul 2019 18:02:57 +0200
+Subject: [PATCH] We're using asciidoctor instead of a2x; adjust options
+ accordingly
+
+This needs more work; asciidoctor doesn't process nftables' asciidoc
+markup correctly.
+---
+ doc/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/doc/Makefile.am b/doc/Makefile.am
+index 01e1af9..7776932 100644
+--- a/doc/Makefile.am
++++ b/doc/Makefile.am
+@@ -2,7 +2,7 @@ if BUILD_MAN
+ man_MANS = nft.8 libnftables-json.5 libnftables.3
+ endif
+
+-A2X_OPTS_MANPAGE = --doctype manpage --format manpage -D ${builddir}
++A2X_OPTS_MANPAGE = --doctype manpage --backend manpage -D ${builddir}
+
+ ASCIIDOC_MAIN = nft.txt
+ ASCIIDOC_INCLUDES = \
+--
+2.22.0
+