Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: /etc/portage/bashrc - patches
Date: Sun, 15 Apr 2018 05:45:28
Message-Id: pauop4$h12$
In Reply to: [gentoo-user] /etc/portage/bashrc - patches by
On 15/04/18 03:30, thelma@×××××××××××.com wrote:
> I'm trying to patch audacity-2.1.3-r1 (as it fails to compile) with the patch provided in Gentoo-Bug forum: > > > I've edited the /etc/portage/bashrc: >
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.