diff --git a/srcpkgs/openscad/patches/8fb64db99ce05da1c72efb8b2f572995fef2ea86.patch b/srcpkgs/openscad/patches/8fb64db99ce05da1c72efb8b2f572995fef2ea86.patch new file mode 100644 index 0000000000..df3c80a647 --- /dev/null +++ b/srcpkgs/openscad/patches/8fb64db99ce05da1c72efb8b2f572995fef2ea86.patch @@ -0,0 +1,22 @@ +From 8fb64db99ce05da1c72efb8b2f572995fef2ea86 Mon Sep 17 00:00:00 2001 +From: Marius Kintel +Date: Sun, 21 Oct 2018 12:02:50 -0400 +Subject: [PATCH] Build fix for boost 1.69 + +--- + src/CSGTreeEvaluator.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git src/CSGTreeEvaluator.cc src/CSGTreeEvaluator.cc +index 245d7e07d9..51d3439348 100644 +--- src/CSGTermEvaluator.cc 2015-04-01 23:10:53.000000000 +0200 ++++ - 2018-12-13 13:35:04.981075600 +0100 +@@ -109,7 +109,7 @@ + shared_ptr ps = dynamic_pointer_cast(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()); diff --git a/srcpkgs/openscad/template b/srcpkgs/openscad/template index b0f36e2c0b..fc26300d43 100644 --- a/srcpkgs/openscad/template +++ b/srcpkgs/openscad/template @@ -1,7 +1,7 @@ # Template file for 'openscad' pkgname=openscad version=2015.03.2 -revision=9 +revision=10 _distver="${version%.*}-${version##*.}" wrksrc="${pkgname}-${_distver}" build_style=qmake