Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2006 17:04:31 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Paul Schmehl <pauls@utdallas.edu>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Patching problem
Message-ID:  <790a9fff0601231504q75b87e14j261faf30686adcac@mail.gmail.com>
In-Reply-To: <D7B25AB7C48991A6558EB00E@utd59514.utdallas.edu>
References:  <D7B25AB7C48991A6558EB00E@utd59514.utdallas.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/23/06, Paul Schmehl <pauls@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=0911 Nov 2005 10:29:21 -0000=091.2
+++ op_sguil.c=0913 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=0911 Nov 2005 10:29:21 -0000=091.2
+++ src/output-plugins/op_sguil.c=0913 Nov 2005 12:00:59 -0000
:


Scot

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0601231504q75b87e14j261faf30686adcac>