On 15/04/18 03:30, [email protected] wrote:
I'm trying to patch audacity-2.1.3-r1 (as it fails to compile) with the patch
provided in Gentoo-Bug forum:
https://bugs.gentoo.org/show_bug.cgi?id=618326
I've edited the /etc/portage/bashrc:
https://wiki.gentoo.org/wiki//etc/portage/patches#Enabling_.2Fetc.2Fportage.2Fpatches_for_all_ebuilds
You don't need that. In fact I wouldn't be surprised if you broke
something by doing that. Undo the change. Putting the patch into:
/etc/portage/patches/media-sound/audacity-2.1.3-r1/TrackPanel-Track-GetRate.patch
is enough.
The user patches are applied automatically when the ebuild in question
uses EAPI 6, or it inherits eutils. audacity-2.1.3-r1.ebuild does the
latter.
When emerging, you will see this in the log:
Applying user patches
TrackPanel-Track-GetRate.patch
That's how you know it's working. If the build still fails, it's not due
to the patch not having been applied. It's that the patch didn't
actually fix your issue.