summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2016-07-25 10:38:35 -0400
committerIan Stakenvicius <axs@gentoo.org>2016-07-25 10:39:00 -0400
commita518be0477d307f35f0c21005062bede753e2b0a (patch)
tree0593cafe9a89bad2e158eec60b22cc1ac7adcc0a /media-gfx/slic3r
parentx11-misc/slim: process ${REPLACING_VERSIONS} as a list (diff)
downloadgentoo-a518be0477d307f35f0c21005062bede753e2b0a.tar.gz
gentoo-a518be0477d307f35f0c21005062bede753e2b0a.tar.bz2
gentoo-a518be0477d307f35f0c21005062bede753e2b0a.zip
media-gfx/slic3r-9999: fix patch so it applies against git head
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-gfx/slic3r')
-rw-r--r--media-gfx/slic3r/files/slic3r-9999-adjust_var_path.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/media-gfx/slic3r/files/slic3r-9999-adjust_var_path.patch b/media-gfx/slic3r/files/slic3r-9999-adjust_var_path.patch
index 9dc93a52dde..4769cc69cc3 100644
--- a/media-gfx/slic3r/files/slic3r-9999-adjust_var_path.patch
+++ b/media-gfx/slic3r/files/slic3r-9999-adjust_var_path.patch
@@ -1,11 +1,11 @@
---- a/lib/Slic3r.pm 2015-06-17 04:38:28.000000000 -0400
-+++ b/lib/Slic3r.pm 2015-06-19 11:56:07.005873299 -0400
+--- a/lib/Slic3r.pm 2016-07-22 11:52:51.423390877 -0400
++++ b/lib/Slic3r.pm 2016-07-22 12:00:57.272715174 -0400
@@ -30,7 +30,7 @@
if $^V == v5.16;
use FindBin;
--our $var = decode_path($FindBin::Bin) . "/var";
-+our $var = decode_path($FindBin::RealBin) . "/var";
+-our $var = sub { decode_path($FindBin::Bin) . "/var/" . $_[0] };
++our $var = sub { decode_path($FindBin::RealBin) . "/var/" . $_[0] };
use Moo 1.003001;