guix-commits
[Top][All Lists]
Advanced

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

05/12: gnu: jsoncpp: Update to 1.9.2.


From: guix-commits
Subject: 05/12: gnu: jsoncpp: Update to 1.9.2.
Date: Thu, 21 Nov 2019 16:44:05 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit d9580a26c7ad9638fee4282c24db8f48ec8f6fec
Author: Marius Bakke <address@hidden>
Date:   Thu Nov 21 15:31:14 2019 +0100

    gnu: jsoncpp: Update to 1.9.2.
    
    * gnu/packages/serialization.scm (jsoncpp): Update to 1.9.2.
    * gnu/packages/games.scm (minetest)[source](snippet): Add substitution.
---
 gnu/packages/games.scm         | 10 +++++++++-
 gnu/packages/serialization.scm |  4 ++--
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index a072564..3d825cb 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -1890,7 +1890,15 @@ match, cannon keep, and grave-itation pit.")
               (modules '((guix build utils)))
               (snippet
                '(begin
-                  (delete-file-recursively "lib") #t))))
+                  ;; Mimic upstream commit 706b6aad06, for compatibility with
+                  ;; newer jsoncpp.  Remove this for > 5.1.0.
+                  (substitute* "cmake/Modules/FindJson.cmake"
+                    (("features\\.h")
+                     "allocator.h"))
+
+                  ;; Delete bundled libraries.
+                  (delete-file-recursively "lib")
+                  #t))))
     (build-system cmake-build-system)
     (arguments
      '(#:configure-flags
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 2bd1872..00a8d27 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -283,7 +283,7 @@ that implements both the msgpack and msgpack-rpc 
specifications.")
 (define-public jsoncpp
   (package
     (name "jsoncpp")
-    (version "1.9.1")
+    (version "1.9.2")
     (home-page "https://github.com/open-source-parsers/jsoncpp";)
     (source (origin
               (method git-fetch)
@@ -291,7 +291,7 @@ that implements both the msgpack and msgpack-rpc 
specifications.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "00g356iv3kcp0gadj7gbyzf9jn9avvx9vxbxc7c2i5nnry8z72wj"))))
+                "037d1b1qdmn3rksmn1j71j26bv4hkjv7sn7da261k853xb5899sg"))))
     (build-system cmake-build-system)
     (arguments
      `(#:configure-flags '("-DBUILD_SHARED_LIBS:BOOL=YES")))



reply via email to

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