Date: Tue, 29 May 2001 09:46:45 -0500 From: Mike Meyer <mwm@mired.org> To: Jean-Christophe Cazenave <zenaf@noos.fr> Cc: questions@freebsd.org Subject: Re: About patch files and porting Message-ID: <15123.46677.808532.132910@guru.mired.org> In-Reply-To: <117972951@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Jean-Christophe Cazenave <zenaf@noos.fr> types: > --------------C407CCCB86990241D792942B > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit Please don't do this - just send plain text, not HTML and especially not plain text and HTML. It also helps if you wrap text lines well before you get to 80 columns. > > I'm trying to work a port. I need to write a patchfile. I tried sevaral possibilities > > diff (and and without option like -unR, especially -u) config.in.orig > > config.in and placed it in teh files directory. Each time I do patch -p0 < patch-ah > > (the name of the patch, it's OK). But as I try make patch. the system complains > > about reversed patches previously applied. It's true, other previous patches have been > > applied to the config.in file. What could I do ? In other terms, what is the good way > > to write patch files for a port ? diff -uR works fine. Complaints about reverse-format are probably from reversing the files on the command line. See the diff man page for information about that. <mike > T.I.A > > JCC > > -- > If the hardware is the heart of a computer > then the software is its soul (D.A RUSLING, The Linux Kernel) > Jean-Christophe CAZENAVE > Email: zenaf@noos.fr > > > > --------------C407CCCB86990241D792942B > Content-Type: text/html; charset=us-ascii > Content-Transfer-Encoding: 7bit > > <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> > <html> > > <pre>Hello</pre> > > <pre>I'm trying to work a port. I need to write a patchfile. I tried sevaral possibilities</pre> > > <pre>diff (and and without option like -unR, especially -u) config.in.orig</pre> > > <pre>config.in and placed it in teh files directory. Each time I do patch -p0 < patch-ah</pre> > > <pre>(the name of the patch, it's OK). But as I try make patch. the system complains</pre> > > <pre>about reversed patches previously applied. It's true, other previous patches have been</pre> > > <pre>applied to the config.in file. What could I do ? In other terms, what is the good way</pre> > > <pre>to write patch files for a port ?</pre> > > <pre></pre> > > <pre>T.I.A</pre> > > <pre>JCC</pre> > > <pre> -- > If the hardware is the heart of a computer > then the software is its soul (D.A RUSLING, The Linux Kernel) > Jean-Christophe CAZENAVE > Email: zenaf@noos.fr</pre> > </html> > > --------------C407CCCB86990241D792942B-- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15123.46677.808532.132910>