From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7577D1381F3 for ; Wed, 21 Nov 2012 22:08:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9F5221C0E6; Wed, 21 Nov 2012 22:07:45 +0000 (UTC) Received: from mail-ie0-f181.google.com (mail-ie0-f181.google.com [209.85.223.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1739EE0029 for ; Wed, 21 Nov 2012 22:06:31 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id c11so6051714ieb.40 for ; Wed, 21 Nov 2012 14:06:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=KECoNmZTWazh1j53BGTGltM88oW7CfaZw5pJhJsvjpQ=; b=tPEJDg11ntFoehePncJjBQ0ZDL1u38LiX1xLNa6nV9nOe3eiCoGc6GDrEkOfZ0/Syz wVbRuQWLGUNSq4d1xjpL2h21VYIN4hnNS+v1xUjzYUGk9rzC/pYiRvqnsTE7rXFBBDPh jXQy1C6XvxzxvnwqWf5DhUog6R5AB7MjtchajUpWYOz7hsa+TxPFRmmggP4mPSvXM3aF E9gdZX1l12qtHiU9QBBotco4H7X2juFmrH79z9LIshZdUMWSbDwYiWZYFpLg6pUuIUKa oXwjVRF0iNQfjdzKmuEfuz0QgH0ZLxR4yLjzybJYDEkReMEqYYVzYm/P/YyHRKr3Fj0n v0/g== 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 Received: by 10.50.33.174 with SMTP id s14mr1119206igi.11.1353535591330; Wed, 21 Nov 2012 14:06:31 -0800 (PST) Received: by 10.64.31.166 with HTTP; Wed, 21 Nov 2012 14:06:31 -0800 (PST) In-Reply-To: <20121121104136.1032871b@digimed.co.uk> References: <20121121104136.1032871b@digimed.co.uk> Date: Thu, 22 Nov 2012 09:06:31 +1100 Message-ID: Subject: Re: [gentoo-user] Adding an extra patch to an ebuild From: Adam Carter To: "gentoo-user@lists.gentoo.org" Content-Type: multipart/alternative; boundary=f46d044469691cb18204cf08905e X-Archives-Salt: f362b9b2-5133-4f19-94d4-51bfc3aa9a0d X-Archives-Hash: a9418575472b4a33307ed6f13d0de7bd --f46d044469691cb18204cf08905e Content-Type: text/plain; charset=ISO-8859-1 > > Create /etc/portage/env/sys-devel/gcc-4.7.2 containing > > post_src_unpack() { > cd "${S}" > epatch_user > } > > to run epatch_user after the source has been unpacked. If you need to run > epatch_user after the other patches have been applied, change the function > name to post_src_prepare. > Thanks Neil, this worked beautifully, as did the gcc patch and i'm running 4.7.2. --f46d044469691cb18204cf08905e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Create /etc/porta= ge/env/sys-devel/gcc-4.7.2 containing

post_src_unpack() {
=A0 =A0 =A0 =A0 cd "${S}"
=A0 =A0 =A0 =A0 epatch_user
}

to run epatch_user after the source has been unpacked. If you need to run epatch_user after the other patches have been applied, change the function<= br> name to post_src_prepare.

Thanks Neil, this worked beautifully, as did the gcc patch and i'= ;m running 4.7.2.
--f46d044469691cb18204cf08905e--