From owner-freebsd-questions Tue Jul 23 15:49:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A9F237B400 for ; Tue, 23 Jul 2002 15:49:45 -0700 (PDT) Received: from mta-1.gci.net (mta-1.gci.net [208.138.130.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8544943E42 for ; Tue, 23 Jul 2002 15:49:44 -0700 (PDT) (envelope-from jonr@destar.net) Received: from mmp-1.gci.net ([208.138.130.80]) by mta-1.gci.net (Netscape Messaging Server 4.15) with ESMTP id GZQ4QU00.YQG for ; Tue, 23 Jul 2002 14:49:42 -0800 Received: from win2kser ([24.237.6.229]) by mmp-1.gci.net (Netscape Messaging Server 4.15) with SMTP id GZQ4KR02.05Q for ; Tue, 23 Jul 2002 14:46:03 -0800 From: "Jon Reynolds" To: "'questions@FreeBSD. ORG'" Subject: diff patch Date: Tue, 23 Jul 2002 14:45:59 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal 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 I am fairly new to FreeBSD and I am trying to figure out how to do a patch using a diff file. I have read the patch man page and this is what I am thinking I am going to type on the command line in the directory of the program to make it work: 'patch php-4.2.1 php-4.2.1-to-4.2.2.patch' Is this correct or do I have to also put the original file at the end also 'patch php-4.2.1 php-4.2.1-to-4.2.2.patch php-4.2.1'? Sorry if this is something simple but it is not simple to me. Jon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message