I've used the -p1 option... It's the same error message again: patch unexpectedly ends in middle of line Hunk #1 FAILED at 127
With other patches, everything works how it should! Am Samstag, 3. Dezember 2005 17:57 schrieb Alan Stern: > On Sat, 3 Dec 2005, michael leemann wrote: > > hey, > > > > Is it possible that there's a mistake in the patch? Or is it me, this > > mistake? Here what I've done: > > > > > > x1-6-00-0a-e6-18-1f-85:/usr/src # zcat Text.gz | patch -p0 2>&1 | tee > > patch.out > > 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: > > -------------------------- > > > > |Index: usb-2.6/drivers/usb/storage/unusual_devs.h > > |=================================================================== > > |--- usb-2.6.orig/drivers/usb/storage/unusual_devs.h > > |+++ usb-2.6/drivers/usb/storage/unusual_devs.h > > > > -------------------------- > > File to patch: > > Skip this patch? [y] > > Skipping patch. > > patch unexpectedly ends in middle of line > > 1 out of 1 hunk ignored > > x1-6-00-0a-e6-18-1f-85:/usr/src # > > When you apply a kernel patch, your current directory is supposed to be > the top-level directory of the source code and you're supposed to use > "patch -p1". That way it doesn't matter what people choose to name their > top-level directories. > > Look through the README file in the top-level directory of the kernel > source. It explains all this stuff. > > Alan Stern ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
