[geos] 01/03: Add patch to fix isnan() detection in configure.
Bas Couwenberg
sebastic at debian.org
Thu Jul 14 10:20:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository geos.
commit e48e971409fd233b680f531f82e5e69640cb6d57
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Thu Jul 14 11:15:31 2016 +0200
Add patch to fix isnan() detection in configure.
---
debian/changelog | 1 +
debian/patches/look-for-isnan-in-std-namespace.patch | 17 +++++++++++++++++
debian/patches/series | 1 +
3 files changed, 19 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 971158a..806a26e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
geos (3.5.0-4) UNRELEASED; urgency=medium
* Bump Standards-Version to 3.9.8, no changes.
+ * Add patch to fix isnan() detection in configure.
-- Bas Couwenberg <sebastic at debian.org> Fri, 15 Apr 2016 18:13:48 +0200
diff --git a/debian/patches/look-for-isnan-in-std-namespace.patch b/debian/patches/look-for-isnan-in-std-namespace.patch
new file mode 100644
index 0000000..c85ac9f
--- /dev/null
+++ b/debian/patches/look-for-isnan-in-std-namespace.patch
@@ -0,0 +1,17 @@
+Description: Look for isnan in std:: namespace.
+ Tested with gcc 4.8.4
+Author: Sandro Santilli <strk at keybit.net>
+Origin: https://trac.osgeo.org/geos/changeset/4169/
+Bug-Debian: https://bugs.debian.org/831177
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -197,7 +197,7 @@ dnl of isnan().
+ AC_LANG_PUSH([C++])
+ AC_CACHE_CHECK([for isnan], ac_cv_isnan,
+ [AC_TRY_LINK([#include <cmath>],
+- [double x; int y; y = isnan(x);],
++ [double x; int y; y = std::isnan(x);],
+ ac_cv_isnan=yes,
+ ac_cv_isnan=no
+ )])
diff --git a/debian/patches/series b/debian/patches/series
index b70acfb..66ba8ab 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ libruby
ruby2
disable-docygen-html-timestamp
spelling-errors.patch
+look-for-isnan-in-std-namespace.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/geos.git
More information about the Pkg-grass-devel
mailing list