guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#65479] [PATCH core-updates 03/61] gnu: docbook-xml-5.1: Fix URIs in


From: Bruno Victal
Subject: [bug#65479] [PATCH core-updates 03/61] gnu: docbook-xml-5.1: Fix URIs in catalog.xml.
Date: Wed, 23 Aug 2023 23:34:55 +0100

* gnu/packages/docbook.scm (docbook-xml-5.1)[source]: Patch version in URI.
---
 gnu/packages/docbook.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index ec1b9acb36..4a0104c253 100644
--- a/gnu/packages/docbook.scm
+++ b/gnu/packages/docbook.scm
@@ -109,7 +109,13 @@ (define-public docbook-xml-5.1
                                        "/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)
-- 
2.40.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]