On Sun, 2003-07-06 at 07:21, Rene Rebe wrote: > Hi, > > On: 05 Jul 2003 13:03:50 -0700, > Thomas Frayne <t...@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 > > |=================================================================== > > |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 > r...@rocklinux.org rene.r...@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