mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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.
This commit is contained in:
parent
813fa6e2c9
commit
d9580a26c7
2 changed files with 11 additions and 3 deletions
|
@ -1890,7 +1890,15 @@ (define-public minetest
|
|||
(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
|
||||
|
|
|
@ -283,7 +283,7 @@ (define-public yaml-cpp
|
|||
(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 @@ (define-public jsoncpp
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"00g356iv3kcp0gadj7gbyzf9jn9avvx9vxbxc7c2i5nnry8z72wj"))))
|
||||
"037d1b1qdmn3rksmn1j71j26bv4hkjv7sn7da261k853xb5899sg"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags '("-DBUILD_SHARED_LIBS:BOOL=YES")))
|
||||
|
|
Loading…
Reference in a new issue