gnu: synfig: Fix boost build error.
* gnu/packages/animation.scm (synfig)[arguments]: Add phase "fix-boost-build-error".master
parent
360f692783
commit
d39238cf3d
|
@ -78,6 +78,16 @@ C++ @dfn{Standard Template Library} (STL).")
|
||||||
"/lib"))
|
"/lib"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(add-after 'unpack 'adapt-to-libxml++-changes
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "configure"
|
(substitute* "configure"
|
||||||
|
|
Reference in New Issue