From owner-freebsd-questions@FreeBSD.ORG Mon Apr 19 01:34:45 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A17E616A4CE; Mon, 19 Apr 2004 01:34:45 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9BA943D55; Mon, 19 Apr 2004 01:34:44 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i3J8YbKF052026 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Apr 2004 09:34:37 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i3J8Yb1k052025; Mon, 19 Apr 2004 09:34:37 +0100 (BST) (envelope-from matthew) Date: Mon, 19 Apr 2004 09:34:37 +0100 From: Matthew Seaman To: Jason Dusek Message-ID: <20040419083437.GB51644@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Jason Dusek , "Ports@BSD" , "Questions@BSD" References: <408365BF.4030205@cs.uiowa.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WYTEVAkct0FjGQmd" Content-Disposition: inline In-Reply-To: <408365BF.4030205@cs.uiowa.edu> User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20040416, clamav-milter version 0.70g X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: "Questions@BSD" cc: "Ports@BSD" Subject: Re: Port Hacking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 08:34:45 -0000 --WYTEVAkct0FjGQmd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 19, 2004 at 12:38:07AM -0500, Jason Dusek wrote: > I would like to edit the code for one of my ports (Inkscape, a graphics= =20 > tool for GNOME) and then wrap it up in a tarball, dump it into distfiles= =20 > and reinstall it. However, the ports system hits me with a checksum=20 > mismatch. What do I do about it? Make a diff (diff -u format) against the original sources, and save that into the 'files' subdirectory of the port as 'patch-some::filename'. There's plenty of examples in that and other ports which you can refer to for guidance. The patch will be applied to the sources automatically, and after the checksumming stage. Note that cvsup(1) should ignore your extra patch file, so it might cause odd problems building the port in future when the Inkscape port gets updated again. Please do submit your modifications via send-pr(1) if they have anymore than purely local interest. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --WYTEVAkct0FjGQmd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAg48ddtESqEQa7a0RAsPyAKCXbGaqLNZhEWj0bcAc7N0N9M+IVQCfZONM dRlq3/zNlvx7/Jw8OScDoAE= =+4j1 -----END PGP SIGNATURE----- --WYTEVAkct0FjGQmd--