~ruther/guix-local

d39238cf3d71abaacb57317499692217bf24235c — Ricardo Wurmus 8 years ago 360f692
gnu: synfig: Fix boost build error.

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

M gnu/packages/animation.scm
M gnu/packages/animation.scm => gnu/packages/animation.scm +10 -0
@@ 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"