summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/groff/groff-1.18.1.4/mdoc-local.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/groff/groff-1.18.1.4/mdoc-local.patch')
-rw-r--r--meta/recipes-extended/groff/groff-1.18.1.4/mdoc-local.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-extended/groff/groff-1.18.1.4/mdoc-local.patch b/meta/recipes-extended/groff/groff-1.18.1.4/mdoc-local.patch
deleted file mode 100644
index 140a544af3..0000000000
--- a/meta/recipes-extended/groff/groff-1.18.1.4/mdoc-local.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1Index: groff-1.18.1.4/tmac/mdoc.local
2===================================================================
3--- groff-1.18.1.4.orig/tmac/mdoc.local 2001-03-23 08:17:51.000000000 +0800
4+++ groff-1.18.1.4/tmac/mdoc.local 2010-08-24 14:20:22.014006846 +0800
5@@ -1,2 +1,26 @@
6 .\" This file is loaded after doc.tmac.
7 .\" Put any local modifications to doc.tmac here.
8+.
9+.if n \{\
10+. \" Debian: Map \(oq to ' rather than ` in nroff mode for devices other
11+. \" than utf8.
12+. if !'\*[.T]'utf8' \
13+. tr \[oq]'
14+.
15+. \" Debian: Disable the use of SGR (ANSI colour) escape sequences by
16+. \" grotty.
17+. if '\V[GROFF_SGR]'' \
18+. output x X tty: sgr 0
19+.
20+. \" Debian: Map \- to the Unicode HYPHEN-MINUS character, to make
21+. \" searching in man pages easier.
22+. if '\*[.T]'utf8' \
23+. char \- \N'45'
24+.
25+. \" Debian: Many UTF-8 man pages use "-" instead of "\-" for dashes such
26+. \" as those in command-line options. This is a bug in those pages, but
27+. \" too many fonts are missing the Unicode HYPHEN character, so we render
28+. \" this as the ASCII-compatible HYPHEN-MINUS instead.
29+. if '\*[.T]'utf8' \
30+. char - \N'45'
31+.\}