Gentoo Archives: gentoo-user

From: Roy Wright <royw@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to apply a patch to an ebuild?
Date: Thu, 29 Sep 2005 19:04:32
Message-Id: 433C39A9.1030607@cisco.com
In Reply to: Re: [gentoo-user] How to apply a patch to an ebuild? by Holly Bostick
1 Holly Bostick wrote:
2
3 >That's almost it--
4 >
5 >1) copy the ebuild and /files folder to your overlay
6 >(/usr/local/portage/media-sound/aumix/, assuming that your
7 >PORTDIR_OVERLAY is /usr/local/portage);
8 >
9 >2) copy the patch to the /files folder in the overlay folder with the
10 >other aumix patches;
11 >
12 >3) edit the following section of the overlay ebuild copy:
13 >
14 >src_unpack() {
15 > unpack ${A}
16 > cd ${S}
17 > epatch ${FILESDIR}/${P}-nohome.patch
18 > epatch ${FILESDIR}/${P}-close-dialogs.patch
19 > epatch ${FILESDIR}/${P}-save_load.patch
20 > epatch ${FILESDIR}/${P}-nls.patch
21 >
22 >to
23 >
24 >src_unpack() {
25 > unpack ${A}
26 > cd ${S}
27 > epatch ${FILESDIR}/${P}-nohome.patch
28 > epatch ${FILESDIR}/${P}-close-dialogs.patch
29 > epatch ${FILESDIR}/${P}-save_load.patch
30 > epatch ${FILESDIR}/${P}-nls.patch
31 >==> epatch ${FILESDIR}/${P}-autoconf.patch
32 >
33 >Save (of course), redigest (ebuild
34 >/usr/local/portage/media-sound/aumix/aumix-2.8-r2.ebuild digest), emerge.
35 >
36 >Hope this helps,
37 >Holly
38 >
39 >
40 Worked first try! Thank you!
41
42 --
43 gentoo-user@g.o mailing list