From owner-freebsd-questions@FreeBSD.ORG Mon Nov 26 05:16:52 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EA3216A420 for ; Mon, 26 Nov 2007 05:16:52 +0000 (UTC) (envelope-from fbsd06+QT=f3b4e1e2@mlists.homeunix.com) Received: from mxout-04.mxes.net (mxout-04.mxes.net [216.86.168.179]) by mx1.freebsd.org (Postfix) with ESMTP id DB6CD13C447 for ; Mon, 26 Nov 2007 05:16:51 +0000 (UTC) (envelope-from fbsd06+QT=f3b4e1e2@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id BBF29D0562 for ; Mon, 26 Nov 2007 00:16:50 -0500 (EST) Date: Mon, 26 Nov 2007 05:16:47 +0000 From: RW To: freebsd-questions@freebsd.org 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> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Personalised patches in ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2007 05:16:52 -0000 On Mon, 26 Nov 2007 11:52:31 +0700 (ICT) 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? > 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.