[sane-devel] HP 7450C ... Try hpusbscsi - scanlog2
Thomas Frayne
tomf at sjpc.org
Mon Jul 7 14:05:57 BST 2003
On Sun, 2003-07-06 at 07:21, Rene Rebe wrote:
> Hi,
>
> On: 05 Jul 2003 13:03:50 -0700,
> Thomas Frayne <tomf at sjpc.org> wrote:
>
> > I copied the patch into
> > /home/tom/rh9-downloads/sane-backends-1.0.12/backend/avision.diff
> > and executed
> > [tom at localhost gnucashShadow]$ cd
> > ~/rh9-downloads/sane-backends-1.0.12/backend
> > [tom at 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
> > |===================================================================
> > |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é Rebe
> - ROCK Linux stable release maintainer
>
> --
> René Rebe - Europe/Germany/Berlin
> rene at rocklinux.org rene.rebe at gmx.net
> http://www.rocklinux.org http://www.rocklinux.org/people/rene
> http://gsmp.tfh-berlin.de/gsmp http://gsmp.tfh-berlin.de/rene
>
I was in the backend directory and had gotten past the problem you
quoted. What I was asking about was:
File to patch: avision.c
patching file avision.c
patch: **** malformed patch at line 9: All the many
other beta-tester and debug-log sender ;-)
I don't know why the patch was malformed. The text it was complaining
about was:
Index: avision.c
===================================================================
RCS file: /cvsroot/external/sane/sane-backends/backend/avision.c,v
retrieving revision 1.21
diff -u -r1.21 avision.c
--- avision.c 9 May 2003 01:36:20 -0000 1.21
+++ avision.c 4 Jul 2003 22:29:44 -0000
@@ -82,6 +82,9 @@
All the many other beta-tester and debug-log sender ;-)
ChangeLog:
+ 2003-06-30: René Rebe
+ * fixed big-endian issues
+
I am leaving for a trip tomorrow. Back at the end of the week.
Thanks,
Tom Frayne
P.S. I tried editing the first few lines of the patch to make them conform
to the contents of the same lines in avision.c. The malformed patch message
then refers to the first line I did not edit. I think that the problem is
that my mail reader (Evolution) changed the font and spacing. It may be
necessary to send the patch as an attachment.
I am leaving for my trip in a couple of hours.
Tom Frayne
More information about the sane-devel
mailing list