-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 17 Oct 2014 22:33:45 +0100, Neil Bothwick ([email protected])
wrote about "Re: [gentoo-user] Re: XFCE weather plugin does not work"
(in <[email protected]>):

> On Fri, 17 Oct 2014 21:13:52 +0000 (UTC), James wrote:
> 
>> And last, can any patch that ends in .patch be applied to the 
>> intended ebuild or does the gentoo ebuild auther have to put some
>> special code into an (EAPI-5) ebuild to facilitate user patches?
> 
> AFAIR the ebuild simply has to call epatch_user() in src_unpack()
> and any matching patches in /etc/portage/patches are applied.

The usual place is src_prepare().

I have prepared some patches from the Xfce repository with line
addressing to match the Gentoo sources tarball.  I attach a tarball of
theses patches that can be untarred in /etc/portage/patches/.  The
ebuild should have the following lines added:

src_prepare() {
        epatch_user
}

Don't forget to redo the manifest for the ebuild.
- -- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
[email protected] (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlRBmhwACgkQRQ2Fs59Psv8YHgCghXa931NC2rJSa8394L2FvZGB
UIAAoIiiIpd7PktyaQE9Av/RxRYjnLE0
=68v7
-----END PGP SIGNATURE-----

Attachment: weather_patches.tgz
Description: application/compressed-tar

Reply via email to