Patching problem

Paul Schmehl pauls at utdallas.edu
Mon Jan 23 15:16:34 PST 2006


--On Monday, January 23, 2006 17:04:31 -0600 Scot Hetzel 
<swhetzel at gmail.com> wrote:

> On 1/23/06, Paul Schmehl <pauls at utdallas.edu> wrote:
>> I'm working on a slave port that applies some patches that are not needed
>> in the master port.
>>
>> Three of the files being patched are op_sguil.c, op_sguil.h and
>> op_plugbase.c.  Those files exists in WRKDIR/src/output-plugins when the
>> tarball is extracted.  How should I name these patches so that they will
>> be applied?
>>
>> I tried patch-src-output-plugins-op_*, but that fails.  (I'm sure it's
>> because of the conflict in naming the output-plugins dir with a dash.)
>>
> Is it failing when the port tries to apply the patch?
>
>
> If your patch file looks like:
> --- op_sguil.c-orig	11 Nov 2005 10:29:21 -0000	1.2
> +++ op_sguil.c	13 Nov 2005 12:00:59 -0000
> :
>
> Then you need to edit so that it contains the patch to the file:
>
> --- src/output-plugins/op_sguil.c-orig	11 Nov 2005 10:29:21 -0000	1.2
> +++ src/output-plugins/op_sguil.c	13 Nov 2005 12:00:59 -0000
> :
>
Doh!!

I knew that.  :-(

Paul Schmehl (pauls at utdallas.edu)
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/


More information about the freebsd-ports mailing list