From 35646e5acfc00dd6ed8e8e09716838d8e258f48b Mon Sep 17 00:00:00 2001 From: Alex Griffin Date: Tue, 3 Dec 2019 15:18:29 -0600 Subject: [PATCH] nongnu: lgogdownloader: Fix build. * nongnu/packages/gog.scm (lgogdownloader)[arguments]: Add patch-find-jsoncpp phase to fix build with newer JsonCpp versions. --- nongnu/packages/gog.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nongnu/packages/gog.scm b/nongnu/packages/gog.scm index c1c981f..adc5dc5 100644 --- a/nongnu/packages/gog.scm +++ b/nongnu/packages/gog.scm @@ -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)