docs/147268: Imporve Porters Handbook section 4.4 - Patching

Jason Helfman jhelfman at e-e.com
Thu Sep 2 20:40:04 UTC 2010


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

From: Jason Helfman <jhelfman at e-e.com>
To: bug-followup at FreeBSD.org, aldis at bsdroot.lv
Cc:  
Subject: Re: docs/147268: Imporve Porters Handbook section 4.4 - Patching
Date: Thu, 02 Sep 2010 13:28:35 -0700

 This is a multi-part message in MIME format.
 --------------010806020605050709080300
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 
 
 --------------010806020605050709080300
 Content-Type: text/plain;
  name="patch.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="patch.txt"
 
 --- 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">
 
 --------------010806020605050709080300--



More information about the freebsd-doc mailing list