summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Waibel <waebbl@gmail.com>2020-04-19 20:44:54 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-06-12 09:59:45 +0300
commit8dfc7b2d0c0cc3d01d08ec9dc7885be394334a50 (patch)
tree3b7cca515acbe35289948dbd1e0a70ae9cfce21e /media-gfx/openscad/files/openscad-2019.05-0001-Fix-build-with-boost-1.73.patch
parentapp-misc/anki: bump to 2.1.15 and modernize ebuild (diff)
downloadgentoo-8dfc7b2d0c0cc3d01d08ec9dc7885be394334a50.tar.gz
gentoo-8dfc7b2d0c0cc3d01d08ec9dc7885be394334a50.tar.bz2
gentoo-8dfc7b2d0c0cc3d01d08ec9dc7885be394334a50.zip
media-gfx/openscad: Fix build with boost-1.73.0
Thanks to William T Wilson for reporting and providing patch. Additionally OpenSCAD has an optional, but automagic dependency on media-libs/lib3mf. Add ccache USE flag, as it's automagically enabled whenever the ccache binary is found in PATH. Reported-by: William T Wilson <fluffysheap@gmail.com> Closes: https://bugs.gentoo.org/722302 Package-Manager: Portage-2.3.99-r2, Repoman-2.3.22 Signed-off-by: Bernd Waibel <waebbl@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-gfx/openscad/files/openscad-2019.05-0001-Fix-build-with-boost-1.73.patch')
-rw-r--r--media-gfx/openscad/files/openscad-2019.05-0001-Fix-build-with-boost-1.73.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/media-gfx/openscad/files/openscad-2019.05-0001-Fix-build-with-boost-1.73.patch b/media-gfx/openscad/files/openscad-2019.05-0001-Fix-build-with-boost-1.73.patch
new file mode 100644
index 000000000000..74f48b4c1aed
--- /dev/null
+++ b/media-gfx/openscad/files/openscad-2019.05-0001-Fix-build-with-boost-1.73.patch
@@ -0,0 +1,28 @@
+From 47275a3d92969709e7605f23a408c5ed5aa483c9 Mon Sep 17 00:00:00 2001
+From: Bernd Waibel <waebbl@gmail.com>
+Date: Fri, 15 May 2020 19:09:10 +0200
+Subject: [PATCH] Fix build with boost-1.73
+
+Thanks to William T Wilson for reporting and providing the patch.
+
+Signed-off-by: Bernd Waibel <waebbl@gmail.com>
+---
+ src/import.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/import.cc b/src/import.cc
+index eef1323..08e46ff 100644
+--- a/src/import.cc
++++ b/src/import.cc
+@@ -50,7 +50,7 @@ namespace fs = boost::filesystem;
+ #include <boost/assign/std/vector.hpp>
+ using namespace boost::assign; // bring 'operator+=()' into scope
+
+-#include <boost/detail/endian.hpp>
++#include <boost/endian/arithmetic.hpp>
+ #include <cstdint>
+
+ extern PolySet * import_amf(std::string, const Location &loc);
+--
+2.26.2
+