On 8/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
The Overlay how seems to be saying one just needs to put any patches
in ../portage/subname/pkg/files

To get ebuild to use them.  That appears not to happen for me.

You also need to modify your new .ebuild.  In the current samba
ebuilds, you will find a src_unpack() function, and a couple of lines
that look like this:

       export EPATCH_SUFFIX="patch"
       epatch ${PATCHDIR}/general
       if use oav ; then
       ...
       fi

So after the "fi" line, add a new line to tell portage to apply your
patch.  Something like:

       epatch ${PATCHDIR}/mypatch

Your patch will need a ".patch" extension, and you will need to re-run
the ebuild digest command again after modifying it.

-Richard
--
gentoo-user@gentoo.org mailing list

Reply via email to