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:
parent
f12649f324
commit
7250841fe9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415127
1 changed files with 11 additions and 0 deletions
11
science/veusz/files/patch-veusz_helpers_src_qtloops_isnan.h
Normal file
11
science/veusz/files/patch-veusz_helpers_src_qtloops_isnan.h
Normal 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))
|
Loading…
Reference in a new issue