From owner-freebsd-questions@FreeBSD.ORG Mon Nov 26 04:52:38 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 0B32216A419 for ; Mon, 26 Nov 2007 04:52:38 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 7C55E13C458 for ; Mon, 26 Nov 2007 04:52:37 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.12.11) with ESMTP id lAQ4qZsQ018621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Nov 2007 11:52:35 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.6/8.12.11) id lAQ4qVuN098618; Mon, 26 Nov 2007 11:52:31 +0700 (ICT) Date: Mon, 26 Nov 2007 11:52:31 +0700 (ICT) Message-Id: <200711260452.lAQ4qVuN098618@banyan.cs.ait.ac.th> From: Olivier Nicole To: fbsd06@mlists.homeunix.com In-reply-to: <20071123032011.57dcfc96@gumby.homeunix.com.> (message from RW on Fri, 23 Nov 2007 03:20:11 +0000) References: <20071121221955.10f80f09@tania.servebbs.org> <20071123032011.57dcfc96@gumby.homeunix.com.> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: bob@tania.servebbs.org, freebsd-questions@freebsd.org 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 04:52:38 -0000 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? Best regards, Olivier