[geos] 01/03: Add patch to include cmath in unit tests to have isnan() defined.

Bas Couwenberg sebastic at xs4all.nl
Wed Mar 19 08:30:19 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch master
in repository geos.

commit e7fcf7d06b6bc712d3fe641a9b1f1f895efeef2e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Wed Mar 19 09:04:17 2014 +0100

    Add patch to include cmath in unit tests to have isnan() defined.
---
 debian/changelog                             |  6 ++++++
 debian/patches/include-cmath-from-unit-tests | 23 +++++++++++++++++++++++
 debian/patches/series                        |  1 +
 3 files changed, 30 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 67e07da..c67ac26 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+geos (3.4.2-3) UNRELEASED; urgency=medium
+
+  * Add patch to include cmath in unit tests to have isnan() defined.
+
+ -- Bas Couwenberg <sebastic at xs4all.nl>  Wed, 19 Mar 2014 09:02:21 +0100
+
 geos (3.4.2-2) unstable; urgency=medium
 
   * Add myself to Uploaders.
diff --git a/debian/patches/include-cmath-from-unit-tests b/debian/patches/include-cmath-from-unit-tests
new file mode 100644
index 0000000..d009739
--- /dev/null
+++ b/debian/patches/include-cmath-from-unit-tests
@@ -0,0 +1,23 @@
+Description: Some compilers require cmath for the proper definition of ISNAN
+Origin: http://trac.osgeo.org/geos/changeset/3975
+Bug: http://trac.osgeo.org/geos/ticket/686
+--- a/tests/unit/geom/CoordinateArraySequenceTest.cpp
++++ b/tests/unit/geom/CoordinateArraySequenceTest.cpp
+@@ -11,6 +11,7 @@
+ #include <string>
+ #include <vector>
+ #include <iostream>
++#include <cmath>
+ 
+ namespace tut
+ {
+--- a/tests/unit/io/WKBWriterTest.cpp
++++ b/tests/unit/io/WKBWriterTest.cpp
+@@ -15,6 +15,7 @@
+ #include <sstream>
+ #include <string>
+ #include <memory>
++#include <cmath>
+ 
+ namespace tut
+ {
diff --git a/debian/patches/series b/debian/patches/series
index 261339a..7cba5de 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -12,3 +12,4 @@ libruby
 automake-subdir-objects
 automake-am-cppflags
 configure.ac
+include-cmath-from-unit-tests

-- 
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