From owner-freebsd-questions@FreeBSD.ORG Tue Mar 9 10:41:41 2004 Return-Path: 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 3858716A4CE for ; Tue, 9 Mar 2004 10:41:41 -0800 (PST) Received: from spock.ste-land.com (spock.ste-land.com [64.32.179.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CF4943D46 for ; Tue, 9 Mar 2004 10:41:41 -0800 (PST) (envelope-from ste@ste-land.com) Received: from ste-land.com (bgp377940bgs.plnfld01.nj.comcast.net [68.36.5.198]) by spock.ste-land.com (Postfix) with ESMTP id 253AC2D24C; Tue, 9 Mar 2004 13:41:40 -0500 (EST) Message-ID: <404E0FE3.5000408@ste-land.com> Date: Tue, 09 Mar 2004 13:41:39 -0500 From: "Shaun T. Erickson" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Haderer References: <404DFE56.6030204@ste-land.com> <404DFE56.6030204@ste-land.com> <5.2.0.9.1.20040309192650.01ad49f0@postamt1.charite.de> In-Reply-To: <5.2.0.9.1.20040309192650.01ad49f0@postamt1.charite.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: How do I add a local patch to a port? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 18:41:41 -0000 Alexander Haderer wrote: > At 13:04 09.03.2004 -0500, Shaun T. Erickson wrote: > >> Shaun T. Erickson wrote: >> >> ... >> I looked at the porter's handbook, and it says that simply dropping >> the patch into the files directory should get it automatically >> applied, but it's not. The patch is named patch-aa and is relative to >> the WRKSRC directory. >> >> Suggestions? > > > Patching the wrong file? > > Patching an already patched file? > > Patching in wrong direction: old <---> new exchanged by accident? > > directory for patch ok? shouldn't it be relative to extracted sources > dir within WRKSRC? Well, cd'ing into the work directory and then into the source directory and saying: patch < patchfile correctly patches the file ./dir/file2bepatched So, if patchfile is in the files directory, it ough to just work, yes? But it isn't. -ste