3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: ledger: Fix build with Boost >= 1.68.

* gnu/packages/finance.scm (ledger)[arguments]: Add phase 'boost-compat.
This commit is contained in:
Marius Bakke 2018-11-24 15:55:29 +01:00
parent f028823c0f
commit 68f2e55206
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -165,6 +165,13 @@ line client and a client based on Qt.")
#:make-flags (list "ARGS=-E BaselineTest_cmd-org")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'boost-compat
(lambda _
(substitute* "src/utils.h"
;; This library moved in Boost 1.66. Remove for Ledger
;; versions > 3.1.1.
(("boost/uuid/sha1.hpp") "boost/uuid/detail/sha1.hpp"))
#t))
(add-before 'configure 'install-examples
(lambda* (#:key outputs #:allow-other-keys)
(let ((examples (string-append (assoc-ref outputs "out")