Submitted-by: Philipp Psurek <philipp.psurek+gentoo@gmail.com>
Package-Manager: portage-2.3.3
+++ /dev/null
---- a/lib/Slic3r.pm 2016-12-18 15:24:37.520000000 +0100
-+++ b/lib/Slic3r.pm 2016-12-18 15:25:23.430000000 +0100
-@@ -42,7 +42,7 @@
-
- use FindBin;
- # Path to the images.
--our $var = sub { decode_path($FindBin::Bin) . "/var/" . $_[0] };
-+our $var = sub { decode_path($FindBin::RealBin) . "/var/" . $_[0] };
-
- use Moo 1.003001;
-
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
src_prepare() {
pushd "${WORKDIR}/slic3r-${PV}" || die
- eapply "${FILESDIR}/${P}-adjust_var_path.patch"
+ sed -i lib/Slic3r.pm -e "s@FindBin::Bin@FindBin::RealBin@g" || die
eapply_user
popd || die
}