From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 33E651382C5 for ; Sun, 15 Apr 2018 05:45:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81F20E0935; Sun, 15 Apr 2018 05:45:20 +0000 (UTC) Received: from blaine.gmane.org (unknown [195.159.176.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15BFFE092C for ; Sun, 15 Apr 2018 05:45:19 +0000 (UTC) Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1f7aRP-0004gU-6G for gentoo-user@lists.gentoo.org; Sun, 15 Apr 2018 07:43:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: /etc/portage/bashrc - patches Date: Sun, 15 Apr 2018 08:45:19 +0300 Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 In-Reply-To: Content-Language: en-US X-Archives-Salt: c295a52b-6fd5-4234-bb04-d1b677edf0fb X-Archives-Hash: 9c0bb778b9f78262fdf82aef04a0d1e8 On 15/04/18 03:30, thelma@sys-concept.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: > 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.