From: Daniel Golle Date: Fri, 8 May 2026 17:52:10 +0000 (+0100) Subject: jose: disable man page generation via asciidoc X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=e75e627a5fd58433d049ccdd125f67d43e53049f;p=openwrt-packages.git jose: disable man page generation via asciidoc 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 --- diff --git a/libs/jose/patches/010-disable-asciidoc-man.patch b/libs/jose/patches/010-disable-asciidoc-man.patch new file mode 100644 index 000000000..4da078887 --- /dev/null +++ b/libs/jose/patches/010-disable-asciidoc-man.patch @@ -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 = [] +