aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/animation.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/animation.scm b/gnu/packages/animation.scm
index 077657937d..8de1fbfaa8 100644
--- a/gnu/packages/animation.scm
+++ b/gnu/packages/animation.scm
@@ -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++.