1 |
--- Rumen Yotov <rumen@××××××.org> wrote: |
2 |
|
3 |
> Hi, |
4 |
> To trouble-shoot the patching process try the following: |
5 |
> 1.Comment the "epatch ..." line in src_unpack(); |
6 |
> #ebuild |
7 |
> /usr/local/portage/$category/$package-version-rev.ebuild |
8 |
> unpack |
9 |
> #cd |
10 |
> |
11 |
/var/tmp/portage/$package-version-rev./work/$package-version-rev./ |
12 |
> patch -pX[0|1|2] --dry-run -i /path/to/patch/file/file-patch |
13 |
> Watch for errors, if any. |
14 |
> If patching is successful run: |
15 |
> #ebuild |
16 |
> /usr/local/portage/$category/$package-version-rev.ebuild |
17 |
> compile |
18 |
> #ebuild |
19 |
> /usr/local/portage/$category/$package-version-rev.ebuild |
20 |
> install |
21 |
> #ebuild |
22 |
> /usr/local/portage/$category/$package-version-rev.ebuild |
23 |
> qmerge |
24 |
> #ebuild |
25 |
> /usr/local/portage/$category/$package-version-rev.ebuild clean |
26 |
> Last one is optional (it just cleans the WORKDIR under |
27 |
> /var/tmp/portage) |
28 |
> Replace "epatch ..." with patch...-optional(watch out for path |
29 |
> issues). |
30 |
> PS: please don't top-post (preferred ML-policy). |
31 |
> HTH.Rumen |
32 |
> |
33 |
|
34 |
Hi Rumen, |
35 |
|
36 |
thanks, the patch was supposed to be applied to a previous |
37 |
version of the ebuild; by masking and emerging the correct |
38 |
version it worked. |
39 |
Sorry for top-posting (I should have read the policy ;P ) |
40 |
|
41 |
Bo, thanks to you too. |
42 |
|
43 |
Now please, stop it, is it possible that a such simple post |
44 |
gives so much feedback!!? |
45 |
No, kidding, thanks again, it's nice to get in contact with you |
46 |
all. |
47 |
|
48 |
Ciao, Leo |
49 |
|
50 |
__________________________________________________ |
51 |
Do You Yahoo!? |
52 |
Tired of spam? Yahoo! Mail has the best spam protection around |
53 |
http://mail.yahoo.com |
54 |
-- |
55 |
gentoo-user@g.o mailing list |