diff options
author | Bruno Victal <mirai@makinata.eu> | 2023-10-09 21:05:55 +0100 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-10-10 21:10:55 -0400 |
commit | 143d6b3890c4503afc3a5dbd1c10f30f27be71a6 (patch) | |
tree | 2e0ec17db067a59260e3399a2388940832792ce0 | |
parent | 98c6edd075ab5b9a4cec38c68d1fd163215c37be (diff) |
gnu: docbook-xml-5.1: Fix URIs in catalog.xml.
* gnu/packages/docbook.scm (docbook-xml-5.1)[source]: Patch version in URI.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
-rw-r--r-- | gnu/packages/docbook.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm index 69963d58d2..a9f4c67198 100644 --- a/gnu/packages/docbook.scm +++ b/gnu/packages/docbook.scm @@ -109,7 +109,13 @@ by no means limited to these applications.) This package provides XML DTDs.") "/docbook-v" version "-os.zip")) (sha256 (base32 - "0zqy9prj9wam9dn7v3mgr7ld1axqxdhgrmv06dviwg00ahv43wxk")))) + "0zqy9prj9wam9dn7v3mgr7ld1axqxdhgrmv06dviwg00ahv43wxk")) + (modules '((guix build utils))) + (snippet + ;; The .zip release mistakenly uses '5.1CR4' instead of + ;; '5.1' as intended by <https://docbook.org/xml/5.1/catalog.xml>. + #~(substitute* "schemas/catalog.xml" + (("5\\.1CR4") #$version))))) (template (docbook-xml-package source version))) (package (inherit template) |