summaryrefslogtreecommitdiff
path: root/gnu/packages/xml.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-05-17 23:58:47 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-05-18 17:40:59 +0200
commitf3d89181065aca4c08669f172f29fdb3f3ee7c69 (patch)
treefe4ed3769730f6d9f01cb4f3cdb17ffeafdc6ea5 /gnu/packages/xml.scm
parent2676628ffba9ef9cacbb0a15e6fd730a73e51f1f (diff)
downloadpatches-f3d89181065aca4c08669f172f29fdb3f3ee7c69.tar
patches-f3d89181065aca4c08669f172f29fdb3f3ee7c69.tar.gz
gnu: libebml: Update to 1.3.6.
* gnu/packages/xml.scm (libebml): Update to 1.3.6. [source]: Apply ‘libebml-use-limits-not-climits.patch’ to build. [build-system]: Switch to the CMake build system. [arguments]: Build shared libaries and don't try to run non-existent tests.
Diffstat (limited to 'gnu/packages/xml.scm')
-rw-r--r--gnu/packages/xml.scm21
1 files changed, 18 insertions, 3 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index b8174f8f4c..f3866f3d83 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -84,7 +84,7 @@ things the parser might find in the XML document (like start tags).")
(define-public libebml
(package
(name "libebml")
- (version "1.3.5")
+ (version "1.3.6")
(source
(origin
(method url-fetch)
@@ -92,8 +92,23 @@ things the parser might find in the XML document (like start tags).")
name "/" name "-" version ".tar.xz"))
(sha256
(base32
- "005a0ipqnfbsq47zrc61zszi439jw32q5xd6dc1jyb3lc0zl266q"))))
- (build-system gnu-build-system)
+ "17iynkj22rbszaymxiaq6k02qy9w4fs1appkn1iam4y441w7lnhy"))
+ (patches
+ (list
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://github.com/Matroska-Org/libebml/commit/"
+ "e46906b80e7662fb78d305f576412f9fa4a22218.patch"))
+ (file-name "libebml-use-limits-not-climits.patch")
+ (sha256
+ (base32
+ "1803rcj4kzg385xij8j3fcz8h86z43ivciv512zr7jp9jwrafs58")))))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:configure-flags
+ (list "-DBUILD_SHARED_LIBS=YES")
+ #:tests? #f)) ; no test suite
(home-page "https://matroska-org.github.io/libebml/")
(synopsis "C++ library to parse EBML files")
(description "libebml is a C++ library to read and write @dfn{EBML}