Web lists-archives.com

Re: [Spca50x-devs] Applying patch




it seems that you don't have some basic linux skills.

in my command "cd spca5xx-20050906", spca5xx-20050906 is a directory
you get after you decompress the downloaded tarball. so it may differ
from spca5xx-20050906. I used this name for the directory simply
because the patch was produced against this version of the driver. it
may not apply to other versions.

you may consult the manual of patch for detailed information by "man patch".

On 7/28/07, Kamran Soomro <kamransoomro84@xxxxxxxxx> wrote:
> Sorry. Forgot to mention that there's no such directory :S
>
>
> On 7/28/07, Shixin Zeng <zeng.shixin@xxxxxxxxx > wrote:
> > On 7/28/07, Kamran Soomro <kamransoomro84@xxxxxxxxx > wrote:
> > > Hi,
> > >
> > > I downloaded the patch available here. I downloaded the drivers from
> here.
> > > I'm using kernel version 2.6.22 with OpenSUSE 10.2. The problem is, I
> can't
> > > seem to be able to apply the patch. I do:
> > >
> > > # patch < gzI3jdBU8UCw
> > >
> >
> > I think you need do "cd spca5xx-20050906" first, and then "patch -p1 <
> > gzI3jdBU8UCw".
> >
> > > and I get the following message:
> > >
> > > can't find file to patch at input line 4
> > > Perhaps you should have used the -p or --strip option?
> > > The text leading up to this was:
> > >  --------------------------
> > > |diff -r -c spca5xx-20050906/drivers/usb/spca5xx.c
> > > spca5xx-20050906.patched/drivers/usb/spca5xx.c
> > > |*** spca5xx-20050906/drivers/usb/spca5xx.c
> 2005-09-06
> > > 22:13:58.000000000 +0200
> > >  |--- spca5xx-20050906.patched/drivers/usb/spca5xx.c     2005-10-08
> > > 17:51:48.000000000 +0200
> > >  --------------------------
> > > File to patch:
> > >
> > >
> > > Can somebody help me in applying the patch please? Thankyou.
> > >
> > > --
> > > Regards,
> > > Kamran Soomro.
> > >
> -------------------------------------------------------------------------
> > > This SF.net email is sponsored by: Splunk Inc.
> > > Still grepping through log files to find problems?  Stop.
> > > Now Search log events and configuration files using AJAX and a browser.
> > > Download your FREE copy of Splunk now >>  http://get.splunk.com/
> > > _______________________________________________
> > > Spca50x-devs mailing list
> > > Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
> > >
> https://lists.sourceforge.net/lists/listinfo/spca50x-devs
> > >
> > >
> >
> >
> > --
> > Best Regards
> >
> > Shixin Zeng
> >
>
>
>
> --
> Regards,
> Kamran Soomro.


-- 
Best Regards

Shixin Zeng

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs