The following commit has been merged in the master branch:
commit 2511bc7a2bfce86715d99fcdd8fe279f07443fc8
Author: Francesco Paolo Lovergine <fran...@debian.org>
Date:   Wed May 25 16:12:28 2011 +0200

    Added DouglasPeuckerLineSimplifier.h patch.

diff --git a/debian/patches/DouglasPeuckerLineSimplifier.h 
b/debian/patches/DouglasPeuckerLineSimplifier.h
new file mode 100644
index 0000000..3396826
--- /dev/null
+++ b/debian/patches/DouglasPeuckerLineSimplifier.h
@@ -0,0 +1,21 @@
+Index: geos/source/headers/geos/simplify/DouglasPeuckerLineSimplifier.h
+===================================================================
+--- geos.orig/source/headers/geos/simplify/DouglasPeuckerLineSimplifier.h      
2011-05-25 16:11:31.000000000 +0200
++++ geos/source/headers/geos/simplify/DouglasPeuckerLineSimplifier.h   
2011-05-25 16:12:10.000000000 +0200
+@@ -23,6 +23,7 @@
+ #include <geos/export.h>
+ #include <vector>
+ #include <memory> // for auto_ptr
++#include <cstddef> 
+ 
+ // Forward declarations
+ namespace geos {
+@@ -34,6 +35,8 @@
+ namespace geos {
+ namespace simplify { // geos::simplify
+ 
++using namespace std;
++
+ /** \brief
+  * Simplifies a linestring (sequence of points) using
+  * the standard Douglas-Peucker algorithm.
diff --git a/debian/patches/series b/debian/patches/series
index f55ed3c..692ceff 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@ MonotoneChainBuilder.h
 AbstractNode.cpp
 SimpleNestedRingTester.h
 DirectedEdgeStar.h
+DouglasPeuckerLineSimplifier.h

-- 
Geometry engine for Geographic Information Systems

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to