summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-12-02 18:33:57 +0100
committerMarius Bakke <mbakke@fastmail.com>2018-12-03 17:44:13 +0100
commit8aaec042d4a7cff68c219443517b55b1d9f0ee9c (patch)
tree3624dd3e0caf426e3460a224d20b7481fbe15303 /gnu
parentaefcdea1992bbcc6c0ec1107118d08d72af38021 (diff)
gnu: kicad: Fix build with Boost >= 1.68.
* gnu/packages/engineering.scm (kicad)[arguments]: Add phase 'adjust-boost-include'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/engineering.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 00803564947..8ef9a5c2778 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -717,6 +717,13 @@ language.")
717 "-DBUILD_GITHUB_PLUGIN=OFF") 717 "-DBUILD_GITHUB_PLUGIN=OFF")
718 #:phases 718 #:phases
719 (modify-phases %standard-phases 719 (modify-phases %standard-phases
720 (add-after 'unpack 'adjust-boost-include
721 (lambda _
722 ;; The location of this header changed in Boost 1.66.
723 (substitute* "3d-viewer/3d_cache/3d_cache.cpp"
724 (("boost/uuid/sha1\\.hpp")
725 "boost/uuid/detail/sha1.hpp"))
726 #t))
720 (add-after 'install 'wrap-program 727 (add-after 'install 'wrap-program
721 ;; Ensure correct Python at runtime. 728 ;; Ensure correct Python at runtime.
722 (lambda* (#:key inputs outputs #:allow-other-keys) 729 (lambda* (#:key inputs outputs #:allow-other-keys)