From owner-freebsd-doc@FreeBSD.ORG Thu Sep 2 20:40:05 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B158010656DE for ; Thu, 2 Sep 2010 20:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 85D098FC1C for ; Thu, 2 Sep 2010 20:40:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o82Ke57n020857 for ; Thu, 2 Sep 2010 20:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o82Ke5N7020856; Thu, 2 Sep 2010 20:40:05 GMT (envelope-from gnats) Date: Thu, 2 Sep 2010 20:40:05 GMT Message-Id: <201009022040.o82Ke5N7020856@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: "Jason" Cc: Subject: Re: docs/147268: Imporve Porters Handbook section 4.4 - Patching X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jason List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 20:40:05 -0000 The following reply was made to PR docs/147268; it has been noted by GNATS. From: "Jason" To: bug-followup@freebsd.org Cc: aldis@bsdroot.lv Subject: Re: docs/147268: Imporve Porters Handbook section 4.4 - Patching Date: Thu, 02 Sep 2010 13:21:14 -0700 --- book.sgml 2010-08-25 02:55:41.000000000 -0700 +++ book.sgml 2010-09-02 13:18:58.000000000 -0700 @@ -735,6 +735,16 @@ USE_DOS2UNIX= yes DOS2UNIX_REGEX= .*\.(c|cpp|h) + + If you want to create a patch file based off of an original + file, you can copy the original file to a .orig + extension and then modify the original file. Run makepatch + , and this will write out an appropriate patch file + to the files directory of the port. If you feel the &os; community + would benefit from your patch, you + may submit a problem report for + consideration.