Date: Mon, 22 Oct 2018 20:31:36 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482792 - head/cad/openscad/files Message-ID: <201810222031.w9MKVaV3001877@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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());
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810222031.w9MKVaV3001877>