gnu: synfig: Fix isnan error.
* gnu/packages/animation.scm (synfig)[arguments]: Add build phase to replace "::isnan" with "std::isnan".
This commit is contained in:
parent
56f33f3fd5
commit
5989d4eaac
|
@ -91,6 +91,11 @@ C++ @dfn{Standard Template Library} (STL).")
|
|||
(substitute* "src/modules/mod_svg/svg_parser.cpp"
|
||||
(("xmlpp::Node::NodeList") "xmlpp::Node::const_NodeList"))
|
||||
#t))
|
||||
(add-after 'unpack 'fix-isnan-error
|
||||
(lambda _
|
||||
(substitute* "src/synfig/time.cpp"
|
||||
(("return !::isnan") "return !std::isnan"))
|
||||
#t))
|
||||
(add-before 'configure 'set-flags
|
||||
(lambda _
|
||||
;; Compile with C++11, required by libsigc++.
|
||||
|
|
Loading…
Reference in New Issue