1 |
On Sun, Apr 15, 2001 at 11:46:41AM -0600, Daniel Robbins wrote: |
2 |
> On Sun, Apr 15, 2001 at 11:11:06AM -0600, Pete Gavin wrote: |
3 |
> > Daniel, |
4 |
> > |
5 |
> > I normally name my patches ${PF}-gentoo.diff, and I was thinking it |
6 |
> > would be cool for ebuild to automatically check for a patch with this |
7 |
> > name in the files directory and apply it in the src_unpack phase if it |
8 |
> > exists. What do you think? |
9 |
> |
10 |
> Definitely possible. What options should "patch" use by default? |
11 |
> |
12 |
|
13 |
Well, I normally make 2 copies of the original source directory, ${S} |
14 |
and ${S}.orig, then make my changes in ${S}. After I'm done, I do |
15 |
diff -urP ${S}.orig ${S} |
16 |
Then, in my ebuild, I do cd ${S} and then |
17 |
patch -p1 < ${PF}-gentoo.diff |
18 |
|
19 |
Pete |