Add patch to use std::isnan() in platform.h too.
Bas Couwenberg
7 years ago
1 | 1 |
|
2 | 2 |
* Bump Standards-Version to 3.9.8, no changes.
|
3 | 3 |
* Add patch to fix isnan() detection in configure.
|
|
4 |
* Add patch to use std::isnan() in platform.h too.
|
|
5 |
(closes: #831177)
|
4 | 6 |
|
5 | 7 |
-- Bas Couwenberg <sebastic@debian.org> Fri, 15 Apr 2016 18:13:48 +0200
|
6 | 8 |
|
|
0 |
Description: Use std::isnan for C++.
|
|
1 |
Based on: https://trac.osgeo.org/geos/changeset/4169/
|
|
2 |
Author: Bas Couwenberg <sebastic@debian.org>
|
|
3 |
Bug-Debian: https://bugs.debian.org/831177
|
|
4 |
Bug: https://trac.osgeo.org/geos/ticket/784
|
|
5 |
|
|
6 |
--- a/include/geos/platform.h.in
|
|
7 |
+++ b/include/geos/platform.h.in
|
|
8 |
@@ -86,7 +86,7 @@ extern "C"
|
|
9 |
#endif
|
|
10 |
|
|
11 |
#if defined(HAVE_ISNAN)
|
|
12 |
-# define ISNAN(x) (isnan(x))
|
|
13 |
+# define ISNAN(x) (std::isnan(x))
|
|
14 |
#else
|
|
15 |
# if defined(_MSC_VER)
|
|
16 |
# define ISNAN(x) _isnan(x)
|
3 | 3 |
disable-docygen-html-timestamp
|
4 | 4 |
spelling-errors.patch
|
5 | 5 |
look-for-isnan-in-std-namespace.patch
|
|
6 |
gcc6-isnan.patch
|