From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SKYwM-00040i-5C for garchives@archives.gentoo.org; Wed, 18 Apr 2012 17:45:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB6FDE0C6D; Wed, 18 Apr 2012 17:44:59 +0000 (UTC) Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 3570EE0C0D for ; Wed, 18 Apr 2012 17:43:54 +0000 (UTC) Received: by wgbfm10 with SMTP id fm10so6976325wgb.10 for ; Wed, 18 Apr 2012 10:43:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; bh=gI2Rt/92dEfPQAVgfqw/AznepWb5txDFxhHGyqYXE1E=; b=lSi/yYrbGe8Fq+udw0OjINFDuyW6wJnQ3hzlyy6UcFgget/2m3oRkyVSNGjLIaeZHW A639oby65u6kw/3+dgMJkvfsQjx6XoPLoIWukB0AJlsUpuj1om5RPaAW0YpnCBaV7EsX UeuO4N0BB1Nj8SyxZWBpseZwDSF/DfJiP31kkrvefLbHzCtiW78P8SCgB+gi7q8zVE7k zpBWf89D2Oj5PJWakR+BenfNuCD+3+IvIHNxRg9vrzJo6WpYlSWioqwflpdAGqa2F6gm BLxe5cUCnqCMDhX+6AF6b42z4G2ZurJzpYBSkUN8wHskIB0pw4Wym7/oFYMr8JbvpoRr 9fVw== Received: by 10.216.200.90 with SMTP id y68mr1956291wen.49.1334771034453; Wed, 18 Apr 2012 10:43:54 -0700 (PDT) Received: from localhost (cpc13-broo7-2-0-cust130.14-2.cable.virginmedia.com. [82.9.16.131]) by mx.google.com with ESMTPS id 6sm36005830wiz.1.2012.04.18.10.43.53 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Apr 2012 10:43:53 -0700 (PDT) Date: Wed, 18 Apr 2012 18:41:38 +0100 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Making user patches globally available Message-ID: <20120418184138.50153e57@googlemail.com> In-Reply-To: <201204181340.00474.vapier@gentoo.org> References: <20120415021641.1858ffde@gentoo.org> <4F8A885C.3050508@gentoo.org> <20120418185913.3d2fa68f@epia.jer-c2.orkz.net> <201204181340.00474.vapier@gentoo.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/7cfqeSGYvzROK4jSHRgmSh6"; protocol="application/pgp-signature" X-Archives-Salt: 3383f4bb-fb1f-43f7-8f8d-5337c3bf3be6 X-Archives-Hash: c228be85e0c4e577ad194e6004d59062 --Sig_/7cfqeSGYvzROK4jSHRgmSh6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 18 Apr 2012 13:39:59 -0400 Mike Frysinger wrote: > i'm not sure splitting patches out of src_prepare into a dedicated > src_patch step would benefit that much. often times, you need to > mangle the code before/after patching. Right. If we were going to take the EAPI route with this, the easiest way would probably be to require that overridden src_prepare functions call a magic function called "apply_user_patches_here" (and to barf if a src_prepare finished without having called that function). --=20 Ciaran McCreesh --Sig_/7cfqeSGYvzROK4jSHRgmSh6 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAk+O/NsACgkQ96zL6DUtXhGzBQCdFSdZUUZTmJC9cpi8Ej7fmZam PYoAn0N3JKo4HmWmPhX2zMw/kDYcf5qQ =IMI2 -----END PGP SIGNATURE----- --Sig_/7cfqeSGYvzROK4jSHRgmSh6--