man patch says : patch -pnum <patchfile Please try something like -- bash-3.2$ pwd /home/joonwpark/SRC/click/e1000e/e1000e-0.4.1.7 bash-3.2$ ls ../ e1000e-0.4.1.7 e1000e-0.4.1.7-click-polling.patch e1000e-0.4.1.7.tar.gz bash-3.2$ patch -p1 < ../e1000e-0.4.1.7-click-polling.patch patching file src/netdev.c bash-3.2$ --
Joonwoo On Wed, Jan 20, 2010 at 8:36 PM, mick woods <[email protected]> wrote: > Hi all thanks for your help so far, I am trying to install the patch > submitted by Joonwoo Park. > > I have the e1000e-0.4.1.7 driver installed and working correctly. > > When I try to install the patch it will not install correctly, listed > below is the error > > r...@click-intel:/home/alan/Desktop/e1000e-0.4.1.7# bzip2 -dc > /home/alan/Desktop/e1000e-0.4.1.7/e1000e-0.4.1.7-click-polling.patch.tar.bz2|patch > -p1 --dry-run > can't find file to patch at input line 5 > Perhaps you used the wrong -p or --strip option? > The text leading up to this was: > -------------------------- > |e1000e-0.4.1.7-click-polling.patch0000644000175000017500000002265411325704230014737 > 0ustar alanalandiff --git a/src/Build b/src/Build > |index 0694955..10315be 100755 > |--- a/src/Build > |+++ b/src/Build > -------------------------- > File to patch: > > > others appear to have been successfull in implementing this patch so > I'm sure its something I am doing but my knowledge of patching is > limited. I have tried |patch -p1 e1000e-0.4.1.7-click-polling.patch > --dry-run and it just hangs > > your help would be appreciated on this > > thanks > alan > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click > _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
