On Fri, 20 May 2005, Artur Szymiec wrote:

> Maybe I'm stupid but take a look at this (and I have a sources of 2.6.12-rc4 
> - 
> downloaded fresh yesterday = I check even makefile header)
> 
> [EMAIL PROTECTED] linux]$ patch -p1 < patch1
> can't find file to patch at input line 3
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |--- drivers/usb/storage/transport.c       2005-03-14 00:33:16 -05:00
> |+++ drivers/usb/storage/transport.c      2005-03-30 16:33:19 -05:00
> --------------------------
> File to patch:
> [EMAIL PROTECTED] linux]$ patch -p0 < patch1
> patching file drivers/usb/storage/transport.c
> Hunk #1 FAILED at 266.
> Hunk #2 FAILED at 1125.
> Hunk #3 FAILED at 1146.
> patch unexpectedly ends in middle of line
> Hunk #4 FAILED at 1170.
> 4 out of 4 hunks FAILED -- saving rejects to file 
> drivers/usb/storage/transport.c.rej
> [EMAIL PROTECTED] linux]$ cat patch1
> --- drivers/usb/storage/transport.c       2005-03-14 00:33:16 -05:00
> +++ drivers/usb/storage/transport.c      2005-03-30 16:33:19 -05:00

I don't know how you ended up with this at the start of your patch file.  
It's not what's on the web page for the URLs I sent.  Here's what the web 
page for the first patch actually contains:

===== drivers/usb/storage/transport.c 1.166 vs edited =====
--- 1.166/drivers/usb/storage/transport.c       2005-03-14 00:33:16 -05:00
+++ edited/drivers/usb/storage/transport.c      2005-03-30 16:33:19 -05:00

Never mind.  I'll send you the two patches in a separate email, off-list.  
They should apply with no problem.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to