Add patch to fix isnan() detection in configure.
Bas Couwenberg
7 years ago
0 | 0 |
geos (3.5.0-4) UNRELEASED; urgency=medium
|
1 | 1 |
|
2 | 2 |
* Bump Standards-Version to 3.9.8, no changes.
|
|
3 |
* Add patch to fix isnan() detection in configure.
|
3 | 4 |
|
4 | 5 |
-- Bas Couwenberg <sebastic@debian.org> Fri, 15 Apr 2016 18:13:48 +0200
|
5 | 6 |
|
|
0 |
Description: Look for isnan in std:: namespace.
|
|
1 |
Tested with gcc 4.8.4
|
|
2 |
Author: Sandro Santilli <strk@keybit.net>
|
|
3 |
Origin: https://trac.osgeo.org/geos/changeset/4169/
|
|
4 |
Bug-Debian: https://bugs.debian.org/831177
|
|
5 |
|
|
6 |
--- a/configure.ac
|
|
7 |
+++ b/configure.ac
|
|
8 |
@@ -197,7 +197,7 @@ dnl of isnan().
|
|
9 |
AC_LANG_PUSH([C++])
|
|
10 |
AC_CACHE_CHECK([for isnan], ac_cv_isnan,
|
|
11 |
[AC_TRY_LINK([#include <cmath>],
|
|
12 |
- [double x; int y; y = isnan(x);],
|
|
13 |
+ [double x; int y; y = std::isnan(x);],
|
|
14 |
ac_cv_isnan=yes,
|
|
15 |
ac_cv_isnan=no
|
|
16 |
)])
|
2 | 2 |
ruby2
|
3 | 3 |
disable-docygen-html-timestamp
|
4 | 4 |
spelling-errors.patch
|
|
5 |
look-for-isnan-in-std-namespace.patch
|