# Re: diff/patch (was: Re: HP OfficeJet Pro,R series support announcement)

Jason Kendall (jkendall@execpc.com)
Fri, 05 Nov 1999 21:08:36 -0600

- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Petter Reinholdtsen: "Re: Autoconf/configure"
- Previous message: Carl-Johan Sveningsson: "Getting a Phantom scanner to work (through Adaptec AVA-1502A)"

how the heck do I get off this mailing list???????

Dave Hill wrote:

> David Paschal wrote:
>
> > Also, could somebody kindly give me suggestions on the best way to
> > produce
> > and apply a patch to the SANE source tree? I tried a recursive diff,
> > as
> > well as a script that did individual diffs on files I knew were new or
> > changed, but the patch utility seemed to have trouble "patching" files
> > that
> > didn't already exist. For now, my "patch" consists of a .tar.gz file
> > containing the entirety of the new/modified files.
>
> You should use the --new-file option to diff. This tells it that
> if a file is absent, treat it as empty. Patch will then know
> that the file is to be created.
>
> -N --new-file Treat absent files as empty.
>
> The "normal" options to diff are: -u -r --new-file
>
> Regards,
> Dave Hill
>
> --
> Dave Hill, Kempston, Bedford UK dave@minnie.demon.co.uk
> Sicth munce ago, I cutn't evun spel enjuneer, and now I are one!
>
> --
> Source code, list archive, and docs: http://www.mostang.com/sane/
> To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

- Next message: Petter Reinholdtsen: "Re: Autoconf/configure"
- Previous message: Carl-Johan Sveningsson: "Getting a Phantom scanner to work (through Adaptec AVA-1502A)"