Gentoo Archives: gentoo-user

From: "Jesús Guerrero" <i92guboj@×××××.es>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Patching of ebuilds
Date: Thu, 29 Jan 2009 09:55:24
Message-Id: 7d4f693fd9f1f2089c22d548ba922f6e.squirrel@jesgue.homelinux.org
In Reply to: Re: [gentoo-user] Patching of ebuilds by Justin
1 Also check the page where you found the patch carefully.
2 Sometimes you can find an updated ebuild that works with
3 that patch in the same page, so you don't have to patch it
4 yourself.
5
6 You need to examine the patch and clear up whether it's
7 a patch for the app or for the ebuild itself. If it's
8 a patch for the ebuild you just need to copy the ebuild
9 into an overlay and patch it. But if it's a patch for the
10 app you need to modify the ebuild so it applies the patch
11 to the app after unpacking it and before compiling.
12
13 This is the official documentation about how to correctly
14 alter the portage tree so you don't mess up anything. Either
15 way you need to create an overlay. That's for sure.
16
17 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=5
18
19 --
20 Jesús Guerrero