commit:     7328940e2833ec9478d81745c609423b4c251b28
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  8 00:20:45 2022 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Sep  8 00:22:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7328940e

app-misc/pax-utils: apply patch to reorder xmlto arguments

Closes: https://bugs.gentoo.org/869110
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 ...x-utils-1.3.5-man-reorder-xmlto-arguments.patch | 30 ++++++++++++++++++++++
 app-misc/pax-utils/pax-utils-1.3.5.ebuild          |  4 +++
 2 files changed, 34 insertions(+)

diff --git 
a/app-misc/pax-utils/files/pax-utils-1.3.5-man-reorder-xmlto-arguments.patch 
b/app-misc/pax-utils/files/pax-utils-1.3.5-man-reorder-xmlto-arguments.patch
new file mode 100644
index 000000000000..909c69e096c6
--- /dev/null
+++ b/app-misc/pax-utils/files/pax-utils-1.3.5-man-reorder-xmlto-arguments.patch
@@ -0,0 +1,30 @@
+From 2d981305b117b669c60bede076557c2d765cf198 Mon Sep 17 00:00:00 2001
+From: Mike Gilbert <[email protected]>
+Date: Wed, 7 Sep 2022 20:13:00 -0400
+Subject: [PATCH] man: reorder xmlto arguments
+
+Bug: https://bugs.gentoo.org/869110
+Thanks-to: Fabian Groffen <[email protected]>
+Signed-off-by: Mike Gilbert <[email protected]>
+---
+ man/meson.build | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/man/meson.build b/man/meson.build
+index fc8d183..2e346ec 100644
+--- a/man/meson.build
++++ b/man/meson.build
+@@ -25,8 +25,8 @@ endforeach
+ 
+ custom_target('docbook_to_man',
+   command : [
+-    xmlto, 'man', '-x', files('custom.xsl'), '--skip-validation', book,
+-    '-o', meson.current_build_dir()
++    xmlto, '-x', files('custom.xsl'), '--skip-validation',
++    '-o', meson.current_build_dir(), 'man', book
+   ],
+   input : [
+     'pax-utils.docbook.in', 'custom.xsl', 'fragment/reftail',
+-- 
+2.37.3
+

diff --git a/app-misc/pax-utils/pax-utils-1.3.5.ebuild 
b/app-misc/pax-utils/pax-utils-1.3.5.ebuild
index 1b90ea8c3bf9..c0464ce0aa15 100644
--- a/app-misc/pax-utils/pax-utils-1.3.5.ebuild
+++ b/app-misc/pax-utils/pax-utils-1.3.5.ebuild
@@ -51,6 +51,10 @@ RESTRICT="
        !test? ( test )
 "
 
+PATCHES=(
+       "${FILESDIR}/pax-utils-1.3.5-man-reorder-xmlto-arguments.patch"
+)
+
 pkg_setup() {
        if use test || use python; then
                python-single-r1_pkg_setup

Reply via email to