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

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

Author: mat (ports committer)
Date: Wed Jan 21 14:59:03 2015
New Revision: 46223

  Catch up after makepatch naming change.
  Differential Revision:
  Reviewed by:	bjk
  Sponsored by:	Absolight


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 @@
-	  <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>

More information about the svn-doc-all mailing list