nongnu: lgogdownloader: Fix build.

* nongnu/packages/gog.scm (lgogdownloader)[arguments]: Add patch-find-jsoncpp
phase to fix build with newer JsonCpp versions.
This commit is contained in:
Alex Griffin 2019-12-03 15:18:29 -06:00
parent 08c155d6d4
commit 35646e5acf

View file

@ -43,7 +43,15 @@
(sha256
(base32 "0a3rrkgqwdqxx3ghzw182jx88gzzw6ldp3jasmgnr4l7gpxkmwws"))))
(build-system cmake-build-system)
(arguments '(#:tests? #f)) ; no tests
(arguments
`(#:tests? #f ; no tests
#:phases
(modify-phases %standard-phases
(add-before 'configure 'patch-find-jsoncpp
(lambda* _
(substitute* "cmake/FindJsoncpp.cmake"
(("features.h") "allocator.h"))
#t)))))
(inputs
`(("boost" ,boost)
("curl" ,curl)