docs/147268: Imporve Porters Handbook section 4.4 - Patching

Jason jhelfman at experts-exchange.com
Thu Sep 2 20:40:05 UTC 2010


The following reply was made to PR docs/147268; it has been noted by GNATS.

From: "Jason" <jhelfman at experts-exchange.com>
To: bug-followup at freebsd.org
Cc: aldis at 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 @@
  
  	<programlisting>USE_DOS2UNIX=    yes
  DOS2UNIX_REGEX=  .*\.(c|cpp|h)</programlisting>
 +
 +	<para>If you want to create a patch file based off of an original 
 +	 file, you can copy the original file to a <emphasis>.orig</emphasis>
 +	 extension and then modify the original file. Run <maketarget>makepatch
 +	 </maketarget>, 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 <ulink
 +	 url="&url.base;/send-pr.html">submit a problem report</ulink> for 
 +	 consideration.</para>
        </sect1>
  
        <sect1 id="slow-configure">



More information about the freebsd-doc mailing list