[sfcgal] 03/04: Add another patch by Sebastien Loriot to fix FTBFS with CGAL 4.11.

Bas Couwenberg sebastic at debian.org
Fri Mar 30 15:17:50 UTC 2018


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

sebastic pushed a commit to branch master
in repository sfcgal.

commit e546fc96b930c42baecf762e43f58157e3d1ed6b
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Mar 30 16:49:00 2018 +0200

    Add another patch by Sebastien Loriot to fix FTBFS with CGAL 4.11.
---
 debian/patches/series                                     |  1 +
 ...ygons-of-the-convex-hull-are-always-triangulated.patch | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 8e56e61..e9c3139 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ fix-gmpxx-compatibility-in-tests.patch
 update-cmake-scripts.patch
 remove-findcgal.patch
 fix-IO-input-with-gmpxx.patch
+the-polygons-of-the-convex-hull-are-always-triangulated.patch
diff --git a/debian/patches/the-polygons-of-the-convex-hull-are-always-triangulated.patch b/debian/patches/the-polygons-of-the-convex-hull-are-always-triangulated.patch
new file mode 100644
index 0000000..6cf9d00
--- /dev/null
+++ b/debian/patches/the-polygons-of-the-convex-hull-are-always-triangulated.patch
@@ -0,0 +1,15 @@
+Description: the polygons of the convex hull are always triangulated
+Author: =?UTF-8?q?S=C3=A9bastien=20Loriot?= <sebastien.loriot at cgal.org>
+Origin: https://github.com/Oslandia/SFCGAL/pull/157/commits/174dbb78303e6365bcf72ce920cb0a0c918b589b
+
+--- a/test/unit/SFCGAL/algorithm/ConvexHullTest.cpp
++++ b/test/unit/SFCGAL/algorithm/ConvexHullTest.cpp
+@@ -148,7 +148,7 @@ BOOST_AUTO_TEST_CASE( testConvexHull3D_L
+     LineString lineString( points ) ;
+     std::auto_ptr< Geometry > hull( algorithm::convexHull3D( lineString ) );
+     BOOST_CHECK( hull->is< PolyhedralSurface >() );
+-    BOOST_CHECK_EQUAL( hull->as< PolyhedralSurface >().numPolygons(), 1U );
++    BOOST_CHECK_EQUAL( hull->as< PolyhedralSurface >().numPolygons(), 2U );
+ }
+ 
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/sfcgal.git



More information about the Pkg-grass-devel mailing list