public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] scope of user patches via epatch
@ 2017-11-18 19:10 Ian Zimmerman
  2017-11-18 19:19 ` Dale
  0 siblings, 1 reply; 2+ messages in thread
From: Ian Zimmerman @ 2017-11-18 19:10 UTC (permalink / raw
  To: gentoo-user

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.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] scope of user patches via epatch
  2017-11-18 19:10 [gentoo-user] scope of user patches via epatch Ian Zimmerman
@ 2017-11-18 19:19 ` Dale
  0 siblings, 0 replies; 2+ messages in thread
From: Dale @ 2017-11-18 19:19 UTC (permalink / raw
  To: gentoo-user

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

:-)  :-) 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-18 19:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-18 19:10 [gentoo-user] scope of user patches via epatch Ian Zimmerman
2017-11-18 19:19 ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox