Date: Tue, 09 Mar 2004 13:41:39 -0500 From: "Shaun T. Erickson" <ste@ste-land.com> To: Alexander Haderer <alexander.haderer@charite.de> Cc: freebsd-questions@freebsd.org Subject: Re: How do I add a local patch to a port? Message-ID: <404E0FE3.5000408@ste-land.com> In-Reply-To: <5.2.0.9.1.20040309192650.01ad49f0@postamt1.charite.de> References: <404DFE56.6030204@ste-land.com> <404DFE56.6030204@ste-land.com> <5.2.0.9.1.20040309192650.01ad49f0@postamt1.charite.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?404E0FE3.5000408>