From owner-freebsd-questions Tue May 29 7:46:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 54C8D37B423 for ; Tue, 29 May 2001 07:46:46 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 13160 invoked by uid 100); 29 May 2001 14:46:45 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15123.46677.808532.132910@guru.mired.org> Date: Tue, 29 May 2001 09:46:45 -0500 To: Jean-Christophe Cazenave Cc: questions@freebsd.org Subject: Re: About patch files and porting In-Reply-To: <117972951@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jean-Christophe Cazenave 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. 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 > > > > >
Hello
> >
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 ?
> >

> 
> 
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-- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Mike Meyer 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