Personalised patches in ports

RW fbsd06 at
Sun Nov 25 21:16:52 PST 2007

On Mon, 26 Nov 2007 11:52:31 +0700 (ICT)
Olivier Nicole <on at> wrote:

> Hi,
> > > How can I incorporate my patch into the portupgrade system, so
> > > that an upgrade of Xpdf will apply my patch? If I download the
> > > bzip file, apply the patch, re-bzip the sources, and then try to
> > > force an upgrade, the checksum fails (as expected).
> > > 
> > > How does one do thes properly?
> > 
> > It's actually much easier than in Linux, since the ports system
> > already has to do this. Each port has a files directory into which
> > you can put patches, which will get applied automatically each time
> > you build. See the porter's handbook for details:
> But wouldn't that personnal patch file be erased by next cvsup of the
> ports?
c[v]sup only deletes files that have been deleted under cvs - other
files are left alone. The only risk is in choosing a patch filename
that previously been used by the port maintainer, but that's easy to

More information about the freebsd-questions mailing list