summaryrefslogtreecommitdiff
path: root/recipes/iputils/files/debian/fix-tracepath-docs.diff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-04-23 08:34:55 +0200
committerKoen Kooi <koen@openembedded.org>2009-04-23 08:34:55 +0200
commite06cd7c84bf8bce335d7a195c504dd78423e3fb5 (patch)
tree11d2778c8e6536c8f19d7eb7c44ee8f0796bbfa7 /recipes/iputils/files/debian/fix-tracepath-docs.diff
parent35d0a5ed204189c19e81fad5d473ae9d62476139 (diff)
iputils: add 20071127
Diffstat (limited to 'recipes/iputils/files/debian/fix-tracepath-docs.diff')
-rw-r--r--recipes/iputils/files/debian/fix-tracepath-docs.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/iputils/files/debian/fix-tracepath-docs.diff b/recipes/iputils/files/debian/fix-tracepath-docs.diff
new file mode 100644
index 0000000000..5f001078df
--- /dev/null
+++ b/recipes/iputils/files/debian/fix-tracepath-docs.diff
@@ -0,0 +1,23 @@
+Index: iputils/doc/Makefile
+===================================================================
+--- iputils.orig/doc/Makefile 2007-10-28 17:27:31.000000000 -0400
++++ iputils/doc/Makefile 2007-12-09 21:01:24.000000000 -0500
+@@ -6,7 +6,7 @@
+
+ html: $(HTMLFILES) iputils.html
+
+-man: $(MANFILES)
++man: $(MANFILES) fix_sgml2man
+
+ # docbook scripts are incredibly dirty in the sense that they leak
+ # lots of some strange temporary junk directories and files.
+@@ -33,6 +33,9 @@
+ @set -e; cd tmp.db2man; nsgmls ../$< | sgmlspl ../docbook2man-spec.pl ; mv $@ ..
+ @-rm -rf tmp.db2man
+
++fix_sgml2man:
++ @sed -i -e 's!\\fB\\fIdestination\\fB\\fR \[\\fB/\\fIport\\fB\\fR\]!\\fB\\fIdestination\\fB\\fR[\\fB/\\fIport\\fB\\fR]!g' tracepath.8
++
+ clean:
+ @rm -rf $(MANFILES) $(HTMLFILES) iputils.html tmp.db2html tmp.db2man
+