From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-180822-garchives=archives.gentoo.org@lists.gentoo.org> 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 AC9C91396D9 for <garchives@archives.gentoo.org>; Sat, 18 Nov 2017 19:19:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91DC0E0DA6; Sat, 18 Nov 2017 19:19:20 +0000 (UTC) Received: from mail-yb0-x229.google.com (mail-yb0-x229.google.com [IPv6:2607:f8b0:4002:c09::229]) (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 3A39CE0D39 for <gentoo-user@lists.gentoo.org>; Sat, 18 Nov 2017 19:19:20 +0000 (UTC) Received: by mail-yb0-x229.google.com with SMTP id w203so1646903ybe.9 for <gentoo-user@lists.gentoo.org>; Sat, 18 Nov 2017 11:19:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=OSl9duKriw2MxXUMzimZJPKbXcw9HAMpATIZ/tYyXA8=; b=uG97rdk9gsZtaTpOinYRLhUiowsBkFd5HPYLkB82xNVVxOp7GwYyG7GyURjulV+8aZ VyVP9d7+eNP3NeElARSN+e5HrcvIwruuvLBlghDeBr+3EN7JoRyJkWFHTTQjfyuDTi0Z fsE13CtM+mCRe5p8UNmi/RwZWTTrVYhY9mJeCtSw2iseib/IWarYMdsPPiP6+5dymA/O HK/ZBcoXzeLJCceynNJ5qx4YYuXrixS8xMwxnAtJYY/0hfb3hkcNBydjhqmc3I69BPxJ s1tnUiQl/QWp3DtneSiTl23TjA2ta1fFlaelf4SDGoJl0piENGS846mwS6w2cJOGFXzn 6lNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=OSl9duKriw2MxXUMzimZJPKbXcw9HAMpATIZ/tYyXA8=; b=rN8Vkh+YV4b06nw5V4+FXdNHzoHwfIIZxdN8hC9FhZLH+83Ym78Nb+CO8g34Ni7fP9 004NZC1iOOpeHtz01Pf0sGBJBmjCs+2qhPrucW5aHA1wJ+p0DEEJBZIa2dpFqKprpw56 VOfEevNGyIBDJB+IUpNGSYNwfuPJo1DstRuwIn+znO7MSlOTqo1COWtfmgI12isb9drp NkjFjkPVP2VmWPGMCObqg/UC0cB/aMEPdYhAa7vTQdtqB1tppKHZPeYJg7415O00vMfR SNWULRmAul/xDj5r1eX6Nc9TLuaBMgtup4aRyQuz1z9ligCdhcEZe7ThBJNByZayespw ncRw== X-Gm-Message-State: AJaThX5nL5A19CgKoxj8wMHGcZW8DQdpmC9qmEbhJYNm5bdJpwkvii6F +QKunxvQhZJiyRjqbj6Q6ok= X-Google-Smtp-Source: AGs4zMa8dc/WlVAEmXWUxM3Qvm7zjtP0KJeHTJdkZzm0LcDn+u15bDmWVCQRRWNwU8v3i2lIPah0AQ== X-Received: by 10.37.132.67 with SMTP id r3mr2841726ybm.323.1511032759367; Sat, 18 Nov 2017 11:19:19 -0800 (PST) Received: from [192.168.2.5] (adsl-65-0-93-225.jan.bellsouth.net. [65.0.93.225]) by smtp.gmail.com with ESMTPSA id t4sm2926640ywi.86.2017.11.18.11.19.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Nov 2017 11:19:18 -0800 (PST) Subject: Re: [gentoo-user] scope of user patches via epatch To: gentoo-user@lists.gentoo.org References: <20171118191035.2fxlx7uzftynbn26@matica.foolinux.mooo.com> From: Dale <rdalek1967@gmail.com> Message-ID: <be5209cb-cc61-b472-c147-955d84f7ce1c@gmail.com> Date: Sat, 18 Nov 2017 13:19:17 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4.0 Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <20171118191035.2fxlx7uzftynbn26@matica.foolinux.mooo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 33a828c7-c11d-463e-8587-7d20f36357a5 X-Archives-Hash: 5a044011097c0072f664b7d2e5f8b947 Ian Zimmerman wrote: > Is there any way to make the patches under /etc/portage/patches > applicable to more than a single exact version of each package? Right > now, every time I emerge -u I have to check if I have patches for a > package on the updated list, and if so make a new subdirectory for the > new version and copy or link the patches there [1]. This is a chore I > could live without. So my question is if there's any wildcard mechanism > to match multiple versions. > > [1] Some fail to apply of course but that's ok, still less work to see > which ones fail than to try checking separately each patch if it applies > or not. > Unless I want it to apply only to a specific version, I don't use versions. This is a example of how the directory/files are for a patch that allows kwrite to run as root. /etc/portage/patches/kde-apps/kwrite/allow-root.patch If I wanted it to apply to only one version, I could add that like you do on yours. Since you want yours to apply to all version like mine, make yours look sort of like mine. It works here so it should work for you as well, if the patch works of course. ;-) Dale :-) :-)