From owner-freebsd-questions Mon May 28 22:33: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bluenote.cybercable.fr (r161m21.cybercable.tm.fr [195.132.161.21]) by hub.freebsd.org (Postfix) with ESMTP id 873AF37B422 for ; Mon, 28 May 2001 22:33:01 -0700 (PDT) (envelope-from zenaf@noos.fr) Received: from noos.fr (jcc@bluenote [127.0.0.1]) by bluenote.cybercable.fr (8.11.3/8.11.1) with ESMTP id f4T5Wp900947 for ; Tue, 29 May 2001 07:32:51 +0200 (CEST) (envelope-from zenaf@noos.fr) Message-ID: <3B133482.B4707395@noos.fr> Date: Tue, 29 May 2001 07:32:51 +0200 From: Jean-Christophe Cazenave X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: About patch files and porting Content-Type: multipart/alternative; boundary="------------C407CCCB86990241D792942B" 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 --------------C407CCCB86990241D792942B Content-Type: text/plain; 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 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