View previous topic :: View next topic |
Author |
Message |
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Fri Jan 23, 2015 8:16 am Post subject: [SOLVED] How to test/use patches |
|
|
Bug_537356 https://bugs.gentoo.org/show_bug.cgi?id=537356#c2 wrote: | Daniel Campbell 2015-01-22 20:31:59 UTC
Created attachment 394656 [details, diff]
Fixes --enable/disable-systray issue in USE="toolbar"
This patch cleans up the ebuild to be in line with 1.3.6's recent fbgm bugfix (bug 536370) and prevents the systray from being enabled when USE="-toolbar".
I have tested the ebuild patch (and the user's use-case) personally and confirmed it works. I'll be opening a bug for fixing this in 1.3.6 and 9999, too." |
How could a user easily apply and test or use such patches?
Last edited by charles17 on Tue May 05, 2015 5:57 am; edited 4 times in total |
|
Back to top |
|
|
franzf Advocate
Joined: 29 Mar 2005 Posts: 4565
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Mon May 04, 2015 4:08 pm Post subject: |
|
|
franzf wrote: | http://wiki.gentoo.org/wiki//etc/portage/patches |
Just tried it, but something goes wrong here. What I did is
But getting the error as in http://pastebin.com/raw.php?i=LVGgTtYE
So what's wrong here? |
|
Back to top |
|
|
heiwa n00b
Joined: 24 Oct 2012 Posts: 70
|
Posted: Mon May 04, 2015 5:18 pm Post subject: |
|
|
The advice from comment 1 applies to applying patches to the software,
but the patches attached to the bug are against the ebuild.
The simplest variant is to apply the patch with
patch /usr/portage/x11-wm/fluxbox/fluxbox-1.3.7.ebuild < $downloaded-file
directly to the portage tree. It will be reverted the next time you sync
the tree, though.
A cleaner possibility is to add fluxbox to your local overlay (or first
create one if you don't have already) and to apply the patch there.
(See `man patch')
In any case you also need to run `ebuild fluxbox-1.3.7.ebuild manifest'
so that emerge won't complain. |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Tue May 05, 2015 5:57 am Post subject: |
|
|
heiwa wrote: | The advice from comment 1 applies to applying patches to the software,
but the patches attached to the bug are against the ebuild. | Thanks for the explanation - it's getting clear now.
The ebuild cannot be patched by something called within the ebuild itself |
|
Back to top |
|
|
|