[sane-devel] HP 7450C ... Try hpusbscsi - scanlog2

Rene Rebe rene.rebe@gmx.net
Sun, 06 Jul 2003 16:21:30 +0200 (CEST)


Hi,

On: 05 Jul 2003 13:03:50 -0700,
    Thomas Frayne <tomf@sjpc.org> wrote:

> I copied the patch into
> /home/tom/rh9-downloads/sane-backends-1.0.12/backend/avision.diff
> and executed
> [tom@localhost gnucashShadow]$ cd
> ~/rh9-downloads/sane-backends-1.0.12/backend
> [tom@localhost backend]$ patch -p0 < ./avision.diff
> can't find file to patch at input line 8
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |Index: avision.c
> |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> |RCS file: /cvsroot/external/sane/sane-backends/backend/avision.c,v
> |retrieving revision 1.21
> |diff -u -r1.21 avision.c

> I have almost no experience with patch.  What went wrong?

The patch directly modifies avision.c, so you need to be in the
backend directory.

I hope you saved the file with you mail application - otherwise you
might get problems due to whitespace / tab convertions ...

If this fails I'll send an easier to apply and tested patch tomorrow
...

Sincerely yours,
  Ren=E9 Rebe
    - ROCK Linux stable release maintainer

--  =

Ren=E9 Rebe - Europe/Germany/Berlin
  rene@rocklinux.org rene.rebe@gmx.net
http://www.rocklinux.org http://www.rocklinux.org/people/rene       =

http://gsmp.tfh-berlin.de/gsmp http://gsmp.tfh-berlin.de/rene