summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/ball/files/ball-1.4.2-std-namespace-isnan.patch')
-rw-r--r--sci-chemistry/ball/files/ball-1.4.2-std-namespace-isnan.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/sci-chemistry/ball/files/ball-1.4.2-std-namespace-isnan.patch b/sci-chemistry/ball/files/ball-1.4.2-std-namespace-isnan.patch
deleted file mode 100644
index cea6377b6a20..000000000000
--- a/sci-chemistry/ball/files/ball-1.4.2-std-namespace-isnan.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Fix C++11 changes to isnan():
-* /var/tmp/portage/sci-chemistry/ball-1.4.2/work/BALL-1.4.2/source/MOLMEC/MINIMIZATION/shiftedLVMM.C:769:46: required from here
-* /var/tmp/portage/sci-chemistry/ball-1.4.2/work/BALL-1.4.2/include/BALL/MATHS/common.h:175:18: error: ‘isnan’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
-* return (isnan(t) != 0);
-
---- BALL-1.4.2/include/BALL/MATHS/common.h
-+++ BALL-1.4.2/include/BALL/MATHS/common.h
-@@ -172,7 +172,7 @@
- #elif defined(BALL_OS_DARWIN)
- return ( __inline_isnand(t) != 0);
- #else
-- return (isnan(t) != 0);
-+ return (std::isnan(t) != 0);
- #endif
- }
-