Date: Mon, 26 Nov 2007 05:16:47 +0000 From: RW <fbsd06@mlists.homeunix.com> To: freebsd-questions@freebsd.org Subject: Re: Personalised patches in ports Message-ID: <20071126051647.37e98bfb@gumby.homeunix.com.> In-Reply-To: <200711260452.lAQ4qVuN098618@banyan.cs.ait.ac.th> References: <20071121221955.10f80f09@tania.servebbs.org> <20071123032011.57dcfc96@gumby.homeunix.com.> <200711260452.lAQ4qVuN098618@banyan.cs.ait.ac.th>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 26 Nov 2007 11:52:31 +0700 (ICT) Olivier Nicole <on@cs.ait.ac.th> 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 avoid.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071126051647.37e98bfb>