jose: disable man page generation via asciidoc
authorDaniel Golle <redacted>
Fri, 8 May 2026 17:52:10 +0000 (18:52 +0100)
committerDaniel Golle <redacted>
Mon, 1 Jun 2026 23:37:04 +0000 (00:37 +0100)
The asciidoc/a2x toolchain bundled with newer Python (3.14) is
incompatible with jose's docbook XSL configuration, causing the
build to fail with xsltproc returning non-zero status while
processing 'jose.1.xml'.

Since the man pages are not strictly required for OpenWrt (and
typically stripped from the final image anyway), unconditionally
disable a2x detection in meson.build via a disabler() so that the
'mans' list stays empty regardless of host tooling.

Link: https://github.com/latchset/jose
Signed-off-by: Daniel Golle <redacted>
libs/jose/patches/010-disable-asciidoc-man.patch [new file with mode: 0644]

diff --git a/libs/jose/patches/010-disable-asciidoc-man.patch b/libs/jose/patches/010-disable-asciidoc-man.patch
new file mode 100644 (file)
index 0000000..4da0788
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/meson.build
++++ b/meson.build
+@@ -39,7 +39,7 @@ zlib = dependency('zlib')
+ threads = dependency('threads')
+ jansson = dependency('jansson', version: '>=2.10')
+ libcrypto = dependency('libcrypto', version: '>=1.0.2')
+-a2x = find_program('a2x', required: false)
++a2x = disabler()
+ mans = []
git clone https://git.99rst.org/PROJECT