From dd0cc9b3c115e218e3ecb7f54b233a83e4b28610 Mon Sep 17 00:00:00 2001 From: Miroslav Šulc Date: Sat, 1 Aug 2020 12:58:38 +0200 Subject: media-gfx/slic3r: fixed compilation with boost 1.73 for 9999 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/722308 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Miroslav Šulc --- media-gfx/slic3r/files/slic3r-9999-boost-173.patch | 39 ++++++++++++++++++++++ media-gfx/slic3r/slic3r-9999.ebuild | 3 +- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 media-gfx/slic3r/files/slic3r-9999-boost-173.patch (limited to 'media-gfx') diff --git a/media-gfx/slic3r/files/slic3r-9999-boost-173.patch b/media-gfx/slic3r/files/slic3r-9999-boost-173.patch new file mode 100644 index 000000000000..ef7289afcd8c --- /dev/null +++ b/media-gfx/slic3r/files/slic3r-9999-boost-173.patch @@ -0,0 +1,39 @@ +--- a/xs/src/libslic3r/SLAPrint.cpp 2020-05-10 23:32:00.044962439 -0600 ++++ b/xs/src/libslic3r/SLAPrint.cpp 2020-05-10 23:40:48.867348908 -0600 +@@ -7,6 +7,7 @@ + #include + #include + #include ++#include "boost/bind.hpp" + + namespace Slic3r { + +--- a/xs/src/libslic3r/PrintObject.cpp 2020-05-10 23:32:00.044962439 -0600 ++++ b/xs/src/libslic3r/PrintObject.cpp 2020-05-10 23:46:22.614152088 -0600 +@@ -7,6 +7,7 @@ + #include + #include + #include ++#include "boost/bind.hpp" + + namespace Slic3r { + +--- a/xs/src/libslic3r/SupportMaterial.cpp 2020-05-10 23:32:00.044962439 -0600 ++++ b/xs/src/libslic3r/SupportMaterial.cpp 2020-05-10 23:54:17.078033850 -0600 +@@ -1,5 +1,6 @@ + #include "SupportMaterial.hpp" + #include "Log.hpp" ++#include "boost/bind.hpp" + + namespace Slic3r + { +--- a/xs/src/libslic3r/TriangleMesh.cpp 2020-05-10 23:32:00.045962432 -0600 ++++ b/xs/src/libslic3r/TriangleMesh.cpp 2020-05-10 23:35:44.778426800 -0600 +@@ -15,6 +15,7 @@ + #include + #include + #include ++#include "boost/bind.hpp" + + #ifdef SLIC3R_DEBUG + #include "SVG.hpp" diff --git a/media-gfx/slic3r/slic3r-9999.ebuild b/media-gfx/slic3r/slic3r-9999.ebuild index d4bc4f6a67a5..61ef1b641af8 100644 --- a/media-gfx/slic3r/slic3r-9999.ebuild +++ b/media-gfx/slic3r/slic3r-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -75,6 +75,7 @@ src_prepare() { pushd "${WORKDIR}/slic3r-${PV}" || die sed -i lib/Slic3r.pm -e "s@FindBin::Bin@FindBin::RealBin@g" || die eapply "${FILESDIR}"/${P}-no-locallib.patch + eapply "${FILESDIR}"/${P}-boost-173.patch eapply_user popd || die } -- cgit v1.2.3-65-gdbad