mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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
1 changed files with 5 additions and 0 deletions
|
@ -91,6 +91,11 @@ (define-public synfig
|
|||
(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 a new issue