Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Adding an extra patch to an ebuild
Date: Wed, 21 Nov 2012 22:08:00
Message-Id: CAC=wYCF9xpCx7zRnct0sKrNyFD0G-419bQsE0yUKz7_Sc+ShtA@mail.gmail.com
In Reply to: Re: [gentoo-user] Adding an extra patch to an ebuild by Neil Bothwick
1 >
2 > Create /etc/portage/env/sys-devel/gcc-4.7.2 containing
3 >
4 > post_src_unpack() {
5 > cd "${S}"
6 > epatch_user
7 > }
8 >
9 > to run epatch_user after the source has been unpacked. If you need to run
10 > epatch_user after the other patches have been applied, change the function
11 > name to post_src_prepare.
12 >
13
14 Thanks Neil, this worked beautifully, as did the gcc patch and i'm running
15 4.7.2.