Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2007 21:55:20 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to make a patch
Message-ID:  <20071016195520.GA92280@slackbox.xs4all.nl>
In-Reply-To: <4714D481.3090204@gmail.com>
References:  <4714D481.3090204@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 16, 2007 at 03:10:57PM +0000, Aryeh M. Friedman wrote:
> I found and fixed a bug in one of the ports how do I make a patch file
> (I only changed one line in one file) and who do I send it to?

First, you must have saved a copy of the original file before you
changed it;

  cp file file.orig

Then you edit the file. Next you crate the patch;

  diff -u file.orig file >youredits.diff

Then you start the send-pr script, and import the contents of the diff
file in the 'Fix' section. See the send-pr manual.=20

Be sure to use the 'ports' category, and add the word '[PATCH]' to the
begin of the desription line. Check if your e-mail address if correct,
otherwise you won't receive replies and follow-ups.

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)

--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHFRcoEnfvsMMhpyURAsGtAJwNaxUNPs71+7rQ67XSbasvdVqRhQCfREgw
MFcYdXwrB2a3MDlIBJN4/QA=
=yARM
-----END PGP SIGNATURE-----

--17pEHd4RhPHOinZp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071016195520.GA92280>