guix-commits
[Top][All Lists]
Advanced

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

38/94: gnu: libxslt: Update to 1.1.34.


From: guix-commits
Subject: 38/94: gnu: libxslt: Update to 1.1.34.
Date: Thu, 5 Dec 2019 12:15:32 -0500 (EST)

mbakke pushed a commit to branch core-updates
in repository guix.

commit badcb119c57fe1a6fc617d2f4a237c1192305584
Author: Marius Bakke <address@hidden>
Date:   Mon Dec 2 22:42:44 2019 +0100

    gnu: libxslt: Update to 1.1.34.
    
    * gnu/packages/xml.scm (libxslt): Update to 1.1.34.
    [arguments]: Add phase to disable fuzz tests.
    * gnu/packages/patches/libxslt-generated-ids.patch: Adjust for upstream
    changes.
---
 gnu/packages/patches/libxslt-generated-ids.patch |  6 +++---
 gnu/packages/xml.scm                             | 14 ++++++++++++--
 2 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/patches/libxslt-generated-ids.patch 
b/gnu/packages/patches/libxslt-generated-ids.patch
index 4273875..1cd2363 100644
--- a/gnu/packages/patches/libxslt-generated-ids.patch
+++ b/gnu/packages/patches/libxslt-generated-ids.patch
@@ -162,10 +162,10 @@ diff --git a/libxslt/xsltInternals.h 
b/libxslt/xsltInternals.h
 index 95e8fe6..8eedae4 100644
 --- a/libxslt/xsltInternals.h
 +++ b/libxslt/xsltInternals.h
-@@ -1786,6 +1786,8 @@ struct _xsltTransformContext {
-     int funcLevel;      /* Needed to catch recursive functions issues */
-     int maxTemplateDepth;
+@@ -1782,6 +1782,8 @@ struct _xsltTransformContext {
      int maxTemplateVars;
+     unsigned long opLimit;
+     unsigned long opCount;
 +
 +    unsigned long nextid;/* for generating stable ids */
  };
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index d1376a5..84066ff 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -212,16 +212,26 @@ project (but it is usable outside of the Gnome 
platform).")
 (define-public libxslt
   (package
     (name "libxslt")
-    (version "1.1.33")
+    (version "1.1.34")
     (source (origin
              (method url-fetch)
              (uri (string-append "ftp://xmlsoft.org/libxslt/libxslt-";
                                  version ".tar.gz"))
              (sha256
               (base32
-               "1j1q1swnsy8jgi9x7mclvkrqhfgn09886gdlr9wzk7a08i8n0dlf"))
+               "0zrzz6kjdyavspzik6fbkpvfpbd25r2qg6py5nnjaabrsr3bvccq"))
              (patches (search-patches "libxslt-generated-ids.patch"))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (add-before 'check 'disable-fuzz-tests
+                    (lambda _
+                      ;; Disable libFuzzer tests, because they require
+                      ;; instrumentation builds of libxml2 and libxslt.
+                      (substitute* "tests/Makefile"
+                        (("exslt plugins fuzz")
+                         "exslt plugins"))
+                      #t)))))
     (home-page "http://xmlsoft.org/XSLT/index.html";)
     (synopsis "C library for applying XSLT stylesheets to XML documents")
     (inputs `(("libgcrypt" ,libgcrypt)



reply via email to

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