Fix bullet character for UTF-8 output. From upstream git.

naddy@ says i should just commit.
This commit is contained in:
schwarze 2015-07-18 04:32:26 +00:00
parent 66135704aa
commit 7c26714893
2 changed files with 24 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.29 2015/04/19 15:20:43 schwarze Exp $
# $OpenBSD: Makefile,v 1.30 2015/07/18 04:32:26 schwarze Exp $
COMMENT = GNU troff typesetter
VERSION = 1.22.3
SUBST_VARS = VERSION
DISTNAME = groff-${VERSION}
REVISION = 1
REVISION = 2
CATEGORIES = textproc
DPB_PROPERTIES = parallel

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-tmac_tty_tmac,v 1.3 2015/07/18 04:32:26 schwarze Exp $
Fix bullet character for UTF-8 output. From upstream git.
--- tmac/tty.tmac.orig Tue Nov 4 01:38:35 2014
+++ tmac/tty.tmac Fri Jul 17 22:04:39 2015
@@ -13,11 +13,12 @@
.
.po 0
.
-.ie c\[pc] \
-. tr \[bu]\[pc]
-.el \
-. if c\[md] \
-. tr \[bu]\[md]
+.if !'\*[.T]'utf8' \
+. ie c\[pc] \
+. tr \[bu]\[pc]
+. el \
+. if c\[md] \
+. tr \[bu]\[md]
.
.fchar \[bu] \z+o
.fchar \[14] 1/4