freebsd-ports/japanese/groff/files/patch-tmac_troffrc
Mathieu Arnold 1a8a092d9f Rename all files containing a : in their filename.
While there, run make makepatch on affected ports, and rename patches
accordingly.

Sponsored by:	Absolight
2016-06-17 23:28:04 +00:00

20 lines
702 B
Text

--- tmac/troffrc.orig Wed Jan 25 13:04:06 2006
+++ tmac/troffrc Wed Jan 25 22:35:38 2006
@@ -38,9 +38,17 @@
.\" Load hyphenation patterns from `hyphen.us' (in the tmac directory).
.do hpf hyphen.us
.
+.\" Disable SGR support in grotty(1).
+.if n \{\
+. do nop \X'tty: sgr 0'
+. sp -1
+. nr nl 0-1
+. nr % -1
+.\}
.\" For CJK hack. The hardcoded list of locales is especially nasty, but
.\" getting the locale charmap requires a troff extension.
.ie "\V[LANG]"ja_JP.eucJP" .do mso euc-jp.tmac
+.el .ie "\V[LANG]"ja_JP.EUC" .do mso euc-jp.tmac
.el .ie "\V[LANG]"zh_CN" .do mso gb.tmac
.el .ie "\V[LANG]"zh_CN.GBK" .do mso gb.tmac
.el .ie "\V[LANG]"zh_SG" .do mso gb.tmac