guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: synfig: Fix boost build error.


From: Ricardo Wurmus
Subject: 01/01: gnu: synfig: Fix boost build error.
Date: Wed, 26 Jul 2017 06:27:22 -0400 (EDT)

rekado pushed a commit to branch core-updates
in repository guix.

commit d39238cf3d71abaacb57317499692217bf24235c
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Jul 26 12:26:04 2017 +0200

    gnu: synfig: Fix boost build error.
    
    * gnu/packages/animation.scm (synfig)[arguments]: Add phase
    "fix-boost-build-error".
---
 gnu/packages/animation.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/animation.scm b/gnu/packages/animation.scm
index 3c59095..faa0d17 100644
--- a/gnu/packages/animation.scm
+++ b/gnu/packages/animation.scm
@@ -78,6 +78,16 @@ C++ @dfn{Standard Template Library} (STL).")
                             "/lib"))
        #:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'fix-boost-build-error
+           ;; A chain of Boost headers leads to this error: "make_array" is
+           ;; not a member of "boost::serialization".  This can be avoided by
+           ;; loading the "array_wrapper" header first.
+           (lambda _
+             (substitute* "src/synfig/valuenodes/valuenode_dynamic.cpp"
+               (("#include <boost/numeric/odeint/integrate/integrate.hpp>" 
match)
+                (string-append
+                 "#include <boost/serialization/array_wrapper.hpp>\n" match)))
+             #t))
          (add-after 'unpack 'adapt-to-libxml++-changes
           (lambda _
             (substitute* "configure"



reply via email to

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