openscad: rebuild against boost-1.69.0

This commit is contained in:
John 2018-12-12 12:13:13 +01:00 committed by maxice8
parent a4efcb1a0e
commit dc6e35bfff
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
2 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,22 @@
From 8fb64db99ce05da1c72efb8b2f572995fef2ea86 Mon Sep 17 00:00:00 2001
From: Marius Kintel <marius@kintel.net>
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<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());

View file

@ -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