Files
MSYS2-packages/pacman/0013-Fix-asciidoc-argparse.patch
Christoph Reiter 3b62953e26 pacman: Update
rebuild and sync in the bash 5.2 fix
2022-11-04 20:41:06 +01:00

28 lines
937 B
Diff

From 4bc3c8076fab15616f00b69564c24fef83d922b3 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Fri, 21 May 2021 23:00:14 +0200
Subject: [PATCH 13/N] Fix asciidoc argparse
a2x seems to fail when a value to an argument looks like an argument itself.
The best fix seems to be to attach the value to the argument using an equal
sign.
https://bugs.python.org/issue9334
---
doc/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/meson.build b/doc/meson.build
index 5a8eb3a..e7ac240 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -55,7 +55,7 @@ foreach page : manpages
'-f', 'manpage',
'--xsltproc-opts', '-param man.endnotes.list.enabled 0 -param man.endnotes.are.numbered 0',
'-D', '@OUTDIR@',
- '--asciidoc-opts', ' '.join(asciidoc_opts),
+ '--asciidoc-opts=' + ' '.join(asciidoc_opts),
'@INPUT@',
],
input : input,