1 |
On 8/13/06, reader@×××××××.com <reader@×××××××.com> wrote: |
2 |
> The Overlay how seems to be saying one just needs to put any patches |
3 |
> in ../portage/subname/pkg/files |
4 |
> |
5 |
> To get ebuild to use them. That appears not to happen for me. |
6 |
|
7 |
You also need to modify your new .ebuild. In the current samba |
8 |
ebuilds, you will find a src_unpack() function, and a couple of lines |
9 |
that look like this: |
10 |
|
11 |
export EPATCH_SUFFIX="patch" |
12 |
epatch ${PATCHDIR}/general |
13 |
if use oav ; then |
14 |
... |
15 |
fi |
16 |
|
17 |
So after the "fi" line, add a new line to tell portage to apply your |
18 |
patch. Something like: |
19 |
|
20 |
epatch ${PATCHDIR}/mypatch |
21 |
|
22 |
Your patch will need a ".patch" extension, and you will need to re-run |
23 |
the ebuild digest command again after modifying it. |
24 |
|
25 |
-Richard |
26 |
-- |
27 |
gentoo-user@g.o mailing list |