void-packages/srcpkgs/docbook-xsl/patches/0003_catalog.xml-Compatibility-with-1.79.1-or-earlier.patch
Cameron Nemo f2c7daa5cf docbook-xsl: update to 1.79.2
Add compatibility patch for 1.79.1.
Add patch for broken mandir handling.
Update string substitution patch.
Adopt package.
2020-09-23 11:44:48 +02:00

22 lines
1 KiB
Diff

From: Boyuan Yang <byang@debian.org>
Date: Tue, 2 Jun 2020 22:11:52 -0400
Subject: catalog.xml: Compatibility with 1.79.1 or earlier
The docbook-xsl project changed the canonical URI since 1.79.2.
Besides changes made in debian/*.xmlcatalogs files, this patch
completes the support of the old URI so that existing software
does not break with changed registered URI.
Forwarded: not-needed
Last-Update: 2020-06-02
--- catalog.xml
+++ catalog.xml
@@ -5,4 +5,7 @@
<rewriteSystem systemIdStartString="http://cdn.docbook.org/release/xsl-nons/current/" rewritePrefix="./"/>
<rewriteURI uriStartString="http://cdn.docbook.org/release/xsl-nons/1.79.2/" rewritePrefix="./"/>
<rewriteSystem systemIdStartString="http://cdn.docbook.org/release/xsl-nons/1.79.2/" rewritePrefix="./"/>
+ <!-- Also support old URI of v1.79.1 or earlier -->
+ <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current/" rewritePrefix="./"/>
+ <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/current/" rewritePrefix="./"/>
</catalog>