From owner-freebsd-questions@FreeBSD.ORG Mon Nov 26 07:28:09 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 9107B16A418 for ; Mon, 26 Nov 2007 07:28:09 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.freebsd.org (Postfix) with ESMTP id 2B41413C457 for ; Mon, 26 Nov 2007 07:28:08 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id lAQ7RRHd028863; Mon, 26 Nov 2007 08:27:32 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 6B31DB8F8; Mon, 26 Nov 2007 08:27:27 +0100 (CET) Date: Mon, 26 Nov 2007 08:27:27 +0100 From: Roland Smith To: Olivier Nicole Message-ID: <20071126072727.GA3259@slackbox.xs4all.nl> Mail-Followup-To: Olivier Nicole , fbsd06@mlists.homeunix.com, bob@tania.servebbs.org, freebsd-questions@freebsd.org References: <20071121221955.10f80f09@tania.servebbs.org> <20071123032011.57dcfc96@gumby.homeunix.com.> <200711260452.lAQ4qVuN098618@banyan.cs.ait.ac.th> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline In-Reply-To: <200711260452.lAQ4qVuN098618@banyan.cs.ait.ac.th> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: fbsd06@mlists.homeunix.com, 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 07:28:09 -0000 --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 26, 2007 at 11:52:31AM +0700, Olivier Nicole wrote: > Hi, >=20 > > > 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). > > >=20 > > > How does one do thes properly? > >=20 > > 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: >=20 > But wouldn't that personnal patch file be erased by next cvsup of the > ports? Not if you 'chflags schg,sunlnk' it.=20 Roland --=20 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) --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHSnVfEnfvsMMhpyURAosaAJ9MXjC/mw2+wVhTwCwkZUTWqxT2JQCgo/rH xUtQ+XvmSYUS5hxdWWt3k2U= =vVjq -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--