mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: kicad: Fix build with Boost >= 1.68.
* gnu/packages/engineering.scm (kicad)[arguments]: Add phase 'adjust-boost-include'.
This commit is contained in:
parent
aefcdea199
commit
8aaec042d4
1 changed files with 7 additions and 0 deletions
|
@ -717,6 +717,13 @@ (define-public kicad
|
||||||
"-DBUILD_GITHUB_PLUGIN=OFF")
|
"-DBUILD_GITHUB_PLUGIN=OFF")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'adjust-boost-include
|
||||||
|
(lambda _
|
||||||
|
;; The location of this header changed in Boost 1.66.
|
||||||
|
(substitute* "3d-viewer/3d_cache/3d_cache.cpp"
|
||||||
|
(("boost/uuid/sha1\\.hpp")
|
||||||
|
"boost/uuid/detail/sha1.hpp"))
|
||||||
|
#t))
|
||||||
(add-after 'install 'wrap-program
|
(add-after 'install 'wrap-program
|
||||||
;; Ensure correct Python at runtime.
|
;; Ensure correct Python at runtime.
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
|
Loading…
Reference in a new issue