Package: geos / 3.4.2-6

include-cmath-from-unit-tests Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
 {