Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602976 - media-gfx/slic3r-9999 patch fail
Summary: media-gfx/slic3r-9999 patch fail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: M. B.
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-18 01:41 UTC by Philippe Trottier
Modified: 2016-12-18 14:47 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Trottier 2016-12-18 01:41:40 UTC
Patch is failing: The line to patch moved down a little:

This one should work:

--- lib/Slic3r.pm       2016-12-18 01:34:24.111814695 +0000
+++ lib/Slic3r.pm.orig  2016-12-18 01:34:04.196611693 +0000
@@ -42,7 +42,7 @@
 
 use FindBin;
 # Path to the images.
-our $var = sub { decode_path($FindBin::RealBin) . "/var/" . $_[0] };
+our $var = sub { decode_path($FindBin::Bin) . "/var/" . $_[0] };
 
 use Moo 1.003001;
Comment 1 Amy Liffey gentoo-dev 2016-12-18 14:47:02 UTC
commit 7c7de1b272fd57383359334b499b0a6352bb9b77
Author: Amy Winston <amynka@gentoo.org>
Date:   Sun Dec 18 15:32:18 2016 +0100

    media-gfx/slic3r: fix patch lines bug #602976
    
    Suggested-by: Philippe Trottier (tchiwam@gmail.com)


Thank you.