question about applying patch to kernel 2.6.26

View: New views
2 Messages — Rating Filter:   Alert me  

question about applying patch to kernel 2.6.26

by a dehqan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In The Name Of God

I'll be thankfull if you guide ;
this patch code<http://article.gmane.org/gmane.linux.drivers.hdaps.devel/1324/raw>has
been saved as 2.patch  in /usr/src/linux-headers-2.6.26-1-686 directory.
and with this command applied to kernel : patch -p2 -l < 2.patch

debian:~# patch -p2 -l < 2.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.6.18.3.original/block/ll_rw_blk.c
linux-2.6.18.3.hdaps/block/ll_rw_blk.c
|--- linux-2.6.18.3.original/block/ll_rw_blk.c    2006-11-19
03:28:22.000000000 +0000
|+++ linux-2.6.18.3.hdaps/block/ll_rw_blk.c    2006-11-26 11:29:55.000000000
+0000
--------------------------
File to patch:

after that it asked this > "File to patch:"
what should be answered to this question ?

regards dehqan


--
To UNSUBSCRIBE, email to debian-ctte-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: question about applying patch to kernel 2.6.26

by Bdale Garbee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-03-27 at 17:26 +0430, a dehqan wrote:

> after that it asked this > "File to patch:"
> what should be answered to this question ?

I'm sorry, but providing help of this sort is far outside the intended
scope/charter of this mailing list.  

You may find some help if you ask this question on the debian-user list,
but my best suggestion would be that you contact the author of the patch
you're trying to apply for help... as there's nothing Debian-specific
about your question that I can see.

Bdale


--
To UNSUBSCRIBE, email to debian-ctte-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...