Personalised patches in ports

Roland Smith rsmith at xs4all.nl
Sun Nov 25 23:28:09 PST 2007


On Mon, Nov 26, 2007 at 11:52:31AM +0700, Olivier Nicole 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?

Not if you 'chflags schg,sunlnk' it. 

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20071126/c8c618a1/attachment.pgp


More information about the freebsd-questions mailing list