From owner-freebsd-questions@FreeBSD.ORG Tue Mar 9 18:13:50 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 685F016A4CE for ; Tue, 9 Mar 2004 18:13:50 -0800 (PST) Received: from mailout1.informatik.tu-muenchen.de (mailout1.informatik.tu-muenchen.de [131.159.0.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB39743D1F for ; Tue, 9 Mar 2004 18:13:49 -0800 (PST) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 2DB6E5C0C; Wed, 10 Mar 2004 03:13:48 +0100 (CET) Date: Wed, 10 Mar 2004 03:13:48 +0100 From: Simon Barner To: "Shaun T. Erickson" Message-ID: <20040310021348.GB5472@zi025.glhnet.mhn.de> References: <404DFE56.6030204@ste-land.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7qSK/uQB79J36Y4o" Content-Disposition: inline In-Reply-To: <404DFE56.6030204@ste-land.com> User-Agent: Mutt/1.5.5.1i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-questions@freebsd.org Subject: Re: How do I add a local patch to a port? 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: Wed, 10 Mar 2004 02:13:50 -0000 --7qSK/uQB79J36Y4o Content-Type: multipart/mixed; boundary="jq0ap7NbKX2Kqbes" Content-Disposition: inline --jq0ap7NbKX2Kqbes Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, although your question has already been answered: I have attached a script that will create the patches for you (yes, it's very bad perl code, I know, but it creates nice patches of the from patch-dir1::dir2::filename ;-) Simply remember to copy the source files to filename.orig before editing them. Once you are done, cd to ${WRKSRC}, run the script and copy the _relevant_ patches to the files directory. Please note that it will also create patch files for those modifications, that came from a `make patch' run. Simon --jq0ap7NbKX2Kqbes-- --7qSK/uQB79J36Y4o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFATnnbCkn+/eutqCoRArkcAKCSoe/UOrWqXozCAmQOpmfBIz5RPQCcDea+ 2BPb1SHcHfdkrSmudkQNK00= =imwc -----END PGP SIGNATURE----- --7qSK/uQB79J36Y4o--