slic3r/slic3r-nowarn-datadir.patch
2013-11-24 17:32:54 +01:00

18 lines
415 B
Diff

diff --git a/lib/Slic3r.pm b/lib/Slic3r.pm
index d317f2e..3ff1f6d 100644
--- a/lib/Slic3r.pm
+++ b/lib/Slic3r.pm
@@ -25,11 +25,7 @@ BEGIN {
$have_threads = 0 if $Moo::VERSION == 1.003000;
}
-warn "Running Slic3r under Perl >= 5.16 is not supported nor recommended\n"
- if $^V >= v5.16;
-
-use FindBin;
-our $var = "$FindBin::Bin/var";
+our $var = "/usr/share/slic3r";
use Encode;
use Encode::Locale;