science/veusz: Fix build with libc++ 3.8.0

PR:		209094
Submitted by:	dom
Approved by:	devel@stasyan.com (maintainer timeout)
This commit is contained in:
Kurt Jaeger 2016-05-13 18:29:12 +00:00
parent f12649f324
commit 7250841fe9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415127

View file

@ -0,0 +1,11 @@
--- veusz/helpers/src/qtloops/isnan.h.orig 2013-11-27 18:00:21 UTC
+++ veusz/helpers/src/qtloops/isnan.h
@@ -50,7 +50,7 @@
# define isFinite(_a) (_finite(_a)) /* Win32 definition */
#elif defined(__sgi)
# define isFinite(_a) (_isfinite(_a))
-#elif defined(isfinite)
+#elif defined(isfinite) || defined(__FreeBSD__)
# define isFinite(_a) (isfinite(_a))
#elif defined(__osf__)
# define isFinite(_a) (finite(_a) && !isNaN(_a))