Patching problem

Scot Hetzel swhetzel at gmail.com
Mon Jan 23 15:04:33 PST 2006


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
:


Scot

--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.


More information about the freebsd-ports mailing list