Here is a diff to fix openscad build with newer Boost.


Index: patches/patch-src_import_cc
===================================================================
RCS file: patches/patch-src_import_cc
diff -N patches/patch-src_import_cc
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_import_cc 4 Dec 2020 01:34:56 -0000
@@ -0,0 +1,15 @@
+$OpenBSD$
+
+Fix build with newer Boost.
+
+Index: src/import.cc
+--- src/import.cc.orig
++++ src/import.cc
+@@ -50,7 +50,6 @@ namespace fs = boost::filesystem;
+ #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);

Reply via email to