--- /dev/null
+--- openscad-2019.05/src/import.cc~ 2019-03-31 06:14:41.000000000 +0200
++++ openscad-2019.05/src/import.cc 2020-08-08 01:19:22.113104409 +0200
+@@ -50,7 +50,6 @@
+ #include <boost/assign/std/vector.hpp>
+ using namespace boost::assign; // bring 'operator+=()' into scope
+
+-#include <boost/detail/endian.hpp>
+ #include <cstdint>
+
+ extern PolySet * import_amf(std::string, const Location &loc);
--- /dev/null
+--- openscad-2019.05/src/parser.y~ 2019-04-07 17:45:27.000000000 +0200
++++ openscad-2019.05/src/parser.y 2020-08-08 01:27:32.558842432 +0200
+@@ -46,6 +46,7 @@
+ #include "printutils.h"
+ #include "memory.h"
+ #include <sstream>
++#include <stack>
+ #include <boost/filesystem.hpp>
+ #include "boost-utils.h"
+
Summary: The Programmers Solid 3D CAD Modeller
Name: openscad
Version: 2019.05
-Release: 4
+Release: 5
# COPYING contains a linking exception for CGAL
# Appdata file is CC0
# Examples are CC0
# Source0-md5: 2b63e249d56e2eba62ed5b042e1d82bc
Patch0: %{name}-polyclipping.patch
Patch1: localedir.patch
+Patch2: boost-1.73.patch
+Patch3: gcc10.patch
URL: http://www.openscad.org/
BuildRequires: Qt5Network-devel
BuildRequires: Qt5Concurrent-devel
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
+%patch3 -p1
# use system package
%{__rm} -r src/ext/polyclipping