1 |
Ian Zimmerman wrote: |
2 |
> Is there any way to make the patches under /etc/portage/patches |
3 |
> applicable to more than a single exact version of each package? Right |
4 |
> now, every time I emerge -u I have to check if I have patches for a |
5 |
> package on the updated list, and if so make a new subdirectory for the |
6 |
> new version and copy or link the patches there [1]. This is a chore I |
7 |
> could live without. So my question is if there's any wildcard mechanism |
8 |
> to match multiple versions. |
9 |
> |
10 |
> [1] Some fail to apply of course but that's ok, still less work to see |
11 |
> which ones fail than to try checking separately each patch if it applies |
12 |
> or not. |
13 |
> |
14 |
|
15 |
Unless I want it to apply only to a specific version, I don't use |
16 |
versions. This is a example of how the directory/files are for a patch |
17 |
that allows kwrite to run as root. |
18 |
|
19 |
/etc/portage/patches/kde-apps/kwrite/allow-root.patch |
20 |
|
21 |
If I wanted it to apply to only one version, I could add that like you |
22 |
do on yours. Since you want yours to apply to all version like mine, |
23 |
make yours look sort of like mine. It works here so it should work for |
24 |
you as well, if the patch works of course. ;-) |
25 |
|
26 |
Dale |
27 |
|
28 |
:-) :-) |