guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/11: gnu: kicad: Fix build with Boost >= 1.68.


From: guix-commits
Subject: 03/11: gnu: kicad: Fix build with Boost >= 1.68.
Date: Mon, 3 Dec 2018 11:47:42 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 8aaec042d4a7cff68c219443517b55b1d9f0ee9c
Author: Marius Bakke <address@hidden>
Date:   Sun Dec 2 18:33:57 2018 +0100

    gnu: kicad: Fix build with Boost >= 1.68.
    
    * gnu/packages/engineering.scm (kicad)[arguments]: Add phase 
'adjust-boost-include'.
---
 gnu/packages/engineering.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 0080356..8ef9a5c 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -717,6 +717,13 @@ language.")
                "-DBUILD_GITHUB_PLUGIN=OFF")
          #: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
              ;; Ensure correct Python at runtime.
              (lambda* (#:key inputs outputs #:allow-other-keys)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]