svn commit: r46223 - head/en_US.ISO8859-1/books/porters-handbook/slow-porting

Mathieu Arnold mat at FreeBSD.org
Wed Jan 21 14:59:04 UTC 2015


Author: mat (ports committer)
Date: Wed Jan 21 14:59:03 2015
New Revision: 46223
URL: https://svnweb.freebsd.org/changeset/doc/46223

Log:
  Catch up after makepatch naming change.
  
  Differential Revision:	https://reviews.freebsd.org/D1576
  Reviewed by:	bjk
  Sponsored by:	Absolight

Modified:
  head/en_US.ISO8859-1/books/porters-handbook/slow-porting/chapter.xml

Modified: head/en_US.ISO8859-1/books/porters-handbook/slow-porting/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/slow-porting/chapter.xml	Wed Jan 21 09:24:53 2015	(r46222)
+++ head/en_US.ISO8859-1/books/porters-handbook/slow-porting/chapter.xml	Wed Jan 21 14:59:03 2015	(r46223)
@@ -294,12 +294,14 @@
 	</listitem>
 
 	<listitem>
-	  <para>When creating names for patch files, replace slashes
-	    (<literal>/</literal>) with two underscores
-	    (<literal>__</literal>).  For example, to patch a file
+	  <para>When creating names for patch files, replace each
+	    underscore (<literal>_</literal>) with two underscores
+	    (<literal>__</literal>) and each slash
+	    (<literal>/</literal>) with one underscore
+	    (<literal>_</literal>).  For example, to patch a file
 	    named <filename>src/freeglut_joystick.c</filename>, name
 	    the corresponding patch
-	    <filename>patch-src__freeglut_joystick.c</filename>.  Do
+	    <filename>patch-src_freeglut__joystick.c</filename>.  Do
 	    not name patches like <filename>patch-aa</filename> or
 	    <filename>patch-ab</filename>.  Always use the path and
 	    file name in patch names.  Using <command>make
@@ -318,7 +320,7 @@
 	  <para>Only use characters <literal>[-+._a-zA-Z0-9]</literal>
 	    for naming patches.  In particular, <emphasis>do not use
 	      <literal>::</literal> as a path separator,</emphasis>
-	    use <literal>__</literal> instead.</para>
+	    use <literal>_</literal> instead.</para>
 	</listitem>
       </itemizedlist>
 


More information about the svn-doc-all mailing list