svn commit: r482792 - head/cad/openscad/files
Jan Beich
jbeich at FreeBSD.org
Mon Oct 22 20:31:37 UTC 2018
Author: jbeich
Date: Mon Oct 22 20:31:36 2018
New Revision: 482792
URL: https://svnweb.freebsd.org/changeset/ports/482792
Log:
cad/openscad: unbreak with boost 1.69
src/CSGTermEvaluator.cc:112:9: error: no viable conversion from 'boost::tribool' to 'bool'
bool convex = ps->convexValue();
^ ~~~~~~~~~~~~~~~~~
PR: 232525
Added:
head/cad/openscad/files/
head/cad/openscad/files/patch-boost-1.69 (contents, props changed)
Added: head/cad/openscad/files/patch-boost-1.69
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/cad/openscad/files/patch-boost-1.69 Mon Oct 22 20:31:36 2018 (r482792)
@@ -0,0 +1,13 @@
+https://github.com/openscad/openscad/commit/ce5646179848
+
+--- src/CSGTermEvaluator.cc.orig 2015-03-09 05:03:30 UTC
++++ src/CSGTermEvaluator.cc
+@@ -109,7 +109,7 @@ static shared_ptr<CSGTerm> evaluate_csg_term_from_geom
+ shared_ptr<const PolySet> ps = dynamic_pointer_cast<const PolySet>(geom);
+ // Since is_convex() doesn't handle non-planar faces, we need to tessellate
+ // also in the indeterminate state so we cannot just use a boolean comparison. See #1061
+- bool convex = ps->convexValue();
++ bool convex(ps->convexValue());
+ if (ps && !convex) {
+ assert(ps->getDimension() == 3);
+ PolySet *ps_tri = new PolySet(3, ps->convexValue());
More information about the svn-ports-all
mailing list