summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-11-24 15:55:29 +0100
committerMarius Bakke <mbakke@fastmail.com>2018-11-24 15:57:56 +0100
commit68f2e552060a9c94f1eb56246e7f14103ca119dc (patch)
treec6ed2c2d541ae46d538138741957e6e0f0899942 /gnu/packages
parentf028823c0f8083bdca2dceb9672a67408318117d (diff)
gnu: ledger: Fix build with Boost >= 1.68.
* gnu/packages/finance.scm (ledger)[arguments]: Add phase 'boost-compat.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/finance.scm7
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")