1 |
On 15/04/18 03:30, thelma@×××××××××××.com wrote: |
2 |
> I'm trying to patch audacity-2.1.3-r1 (as it fails to compile) with the patch provided in Gentoo-Bug forum: |
3 |
> https://bugs.gentoo.org/show_bug.cgi?id=618326 |
4 |
> |
5 |
> I've edited the /etc/portage/bashrc: |
6 |
> https://wiki.gentoo.org/wiki//etc/portage/patches#Enabling_.2Fetc.2Fportage.2Fpatches_for_all_ebuilds |
7 |
|
8 |
You don't need that. In fact I wouldn't be surprised if you broke |
9 |
something by doing that. Undo the change. Putting the patch into: |
10 |
|
11 |
|
12 |
/etc/portage/patches/media-sound/audacity-2.1.3-r1/TrackPanel-Track-GetRate.patch |
13 |
|
14 |
is enough. |
15 |
|
16 |
The user patches are applied automatically when the ebuild in question |
17 |
uses EAPI 6, or it inherits eutils. audacity-2.1.3-r1.ebuild does the |
18 |
latter. |
19 |
|
20 |
When emerging, you will see this in the log: |
21 |
|
22 |
Applying user patches |
23 |
TrackPanel-Track-GetRate.patch |
24 |
|
25 |
That's how you know it's working. If the build still fails, it's not due |
26 |
to the patch not having been applied. It's that the patch didn't |
27 |
actually fix your issue. |