diff options
author | Marius Bakke <mbakke@fastmail.com> | 2018-11-24 15:55:29 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2018-11-24 15:57:56 +0100 |
commit | 68f2e552060a9c94f1eb56246e7f14103ca119dc (patch) | |
tree | c6ed2c2d541ae46d538138741957e6e0f0899942 /gnu/packages/finance.scm | |
parent | f028823c0f8083bdca2dceb9672a67408318117d (diff) | |
download | patches-68f2e552060a9c94f1eb56246e7f14103ca119dc.tar patches-68f2e552060a9c94f1eb56246e7f14103ca119dc.tar.gz |
gnu: ledger: Fix build with Boost >= 1.68.
* gnu/packages/finance.scm (ledger)[arguments]: Add phase 'boost-compat.
Diffstat (limited to 'gnu/packages/finance.scm')
-rw-r--r-- | gnu/packages/finance.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 28bfb28f49..929f8a52de 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -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") |