summaryrefslogtreecommitdiff
path: root/user/iputils/docbook-man.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/iputils/docbook-man.patch')
-rw-r--r--user/iputils/docbook-man.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/iputils/docbook-man.patch b/user/iputils/docbook-man.patch
new file mode 100644
index 000000000..1793858e4
--- /dev/null
+++ b/user/iputils/docbook-man.patch
@@ -0,0 +1,33 @@
+--- iputils-s20190515/doc/custom-man.xsl.old 2019-06-25 11:48:48.790000000 +0000
++++ iputils-s20190515/doc/custom-man.xsl 2019-06-25 11:49:06.250000000 +0000
+@@ -5,7 +5,7 @@
+ extension-element-prefixes="exsl"
+ version="1.0">
+
+-<xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl"/>
++<xsl:import href="file:///usr/share/xml/docbook/xsl-stylesheets-ns/manpages/docbook.xsl"/>
+
+ <xsl:template name="top.comment" />
+
+--- iputils-s20190515/doc/meson.build.old 2019-06-25 14:54:58.170000000 +0000
++++ iputils-s20190515/doc/meson.build 2019-06-25 14:55:28.460000000 +0000
+@@ -48,7 +48,7 @@
+ ]
+
+ if xsltproc.found()
+- xsl = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl'
++ xsl = 'file:///usr/share/xml/docbook/xsl-stylesheets-ns/manpages/docbook.xsl'
+ testrun = run_command([xsltproc, '--nonet', xsl])
+ xsltproc_works = testrun.returncode() == 0
+ if xsltproc_works == false
+--- iputils-s20190515/doc/custom-html.xsl.old 2019-06-25 14:56:50.460000000 +0000
++++ iputils-s20190515/doc/custom-html.xsl 2019-06-25 14:57:11.680000000 +0000
+@@ -2,7 +2,7 @@
+
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+-<xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/html/docbook.xsl"/>
++<xsl:import href="file:///usr/share/xml/docbook/xsl-stylesheets-ns/html/docbook.xsl"/>
+ <!--
+ - The docbook stylesheet injects empty anchor tags into generated HTML, identified by an auto-generated ID.
+ - Ask the docbook stylesheet to generate reproducible output when generating (these) ID values.