media-gfx/slic3r: Add patch by Chris Mansfield for recent boost
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Thu, 7 Nov 2019 22:11:26 +0000 (23:11 +0100)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Thu, 7 Nov 2019 22:11:52 +0000 (23:11 +0100)
Closes: https://bugs.gentoo.org/689804
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
media-gfx/slic3r/files/slic3r-1.3.0-boost.patch [new file with mode: 0644]
media-gfx/slic3r/slic3r-1.3.0-r1.ebuild

diff --git a/media-gfx/slic3r/files/slic3r-1.3.0-boost.patch b/media-gfx/slic3r/files/slic3r-1.3.0-boost.patch
new file mode 100644 (file)
index 0000000..e77e50b
--- /dev/null
@@ -0,0 +1,10 @@
+--- Slic3r-1.3.0/xs/src/libslic3r/GCodeSender.hpp.old  2019-11-04 19:31:05.714869400 -0800
++++ Slic3r-1.3.0/xs/src/libslic3r/GCodeSender.hpp      2019-11-04 19:34:10.656330929 -0800
+@@ -9,6 +9,7 @@
+ #include <boost/asio.hpp>
+ #include <boost/bind.hpp>
+ #include <boost/thread.hpp>
++#include <boost/core/noncopyable.hpp>
+ namespace Slic3r {
index 64cc0c14bc9715efb14bb42ad405c344d7c1dc82..556d06e66281d38b3c815f219825f4113ac0a36b 100644 (file)
@@ -74,6 +74,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.patch
        eapply_user
        popd || die
        # drop std=c++11 to compiler defaults...