[qhull] 01/01: simplify man page patch using escapes

Barak A. Pearlmutter barak+git at cs.nuim.ie
Thu Feb 13 08:33:30 UTC 2014


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch master
in repository qhull.

commit 2e368819b51394b581e4ee0a15a60f875db08af2
Author: Barak A. Pearlmutter <barak+git at cs.nuim.ie>
Date:   Thu Feb 13 08:33:15 2014 +0000

    simplify man page patch using escapes
---
 debian/patches/0005-man-macros.patch | 29 ++++++++++++-----------------
 1 file changed, 12 insertions(+), 17 deletions(-)

diff --git a/debian/patches/0005-man-macros.patch b/debian/patches/0005-man-macros.patch
index a904960..6f860a7 100644
--- a/debian/patches/0005-man-macros.patch
+++ b/debian/patches/0005-man-macros.patch
@@ -4,43 +4,38 @@ Subject: man macros
 
 Avoid lintian error
 
-qhull-bin: manpage-has-errors-from-man
+  qhull-bin: manpage-has-errors-from-man
 
 to whit
 
   usr/share/man/man1/qhull.1.gz 750: warning: macro `QJn'' not defined
   usr/share/man/man1/qhull.1.gz 771: warning: macro `Qt'' not defined
 
-and consequent lost text.
-
-These result from a line starting with the single quote character, so
-we Judiciously move line breaks to avoid that.
+and consequent lost text.  These result from a line starting with the
+single quote character; this patch backslash escapes them.
 ---
- html/qhull.man | 7 +++----
- 1 file changed, 3 insertions(+), 4 deletions(-)
+ html/qhull.man | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/html/qhull.man b/html/qhull.man
-index 4ede521..038c9b6 100644
+index 4ede521..780d706 100644
 --- a/html/qhull.man
 +++ b/html/qhull.man
-@@ -746,8 +746,7 @@ not increase n beyond a certain value, and it stops after a certain number
- of attempts [see user.h].  Option 'QJ'
+@@ -747,7 +747,7 @@ of attempts [see user.h].  Option 'QJ'
  selects a default value for n.  The output will be simplicial.  For
  Delaunay triangulations, 'QJn' sets 'Qbb' to scale the last coordinate
--(not if 'Qbk:n' or 'QBk:n' is set).
+ (not if 'Qbk:n' or 'QBk:n' is set).
 -'QJn' is deprecated for Voronoi diagrams.  See also 'Qt'.
-+(not if 'Qbk:n' or 'QBk:n' is set).  'QJn' is deprecated for Voronoi diagrams.  See also 'Qt'.
++\'QJn' is deprecated for Voronoi diagrams.  See also 'Qt'.
  .TP
  Qm
  Only process points that would otherwise increase max_outside.  Other
-@@ -768,8 +767,8 @@ Qs
- Search all points for the initial simplex.
+@@ -769,7 +769,7 @@ Search all points for the initial simplex.
  .TP
  Qt
--Triangulated output.  Triangulate all non\[hy]simplicial facets.  
+ Triangulated output.  Triangulate all non\[hy]simplicial facets.  
 -'Qt' is deprecated for Voronoi diagrams.  See also 'Qt'.
-+Triangulated output.  Triangulate all non\[hy]simplicial
-+facets.  'Qt' is deprecated for Voronoi diagrams.  See also 'Qt'.
++\'Qt' is deprecated for Voronoi diagrams.  See also 'Qt'.
  .TP
  Qv
  Test vertex neighbors for convexity after post\[hy]merging.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/qhull.git



More information about the debian-science-commits mailing list