summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcela Mašláňová <mmaslano@fedoraproject.org>2007-08-16 14:14:23 +0000
committerMarcela Mašláňová <mmaslano@fedoraproject.org>2007-08-16 14:14:23 +0000
commita8ea1da8bfc733c0dcb3b53f5ee1d8eae85efa74 (patch)
tree58782e2c19501abd47ae87dc97fa7d517494e910
parentba30fcda70d66a7ac97d6a7fd299367041fcb43c (diff)
Rebuilt package.groff-1_18_1_4-6_fc7
-rw-r--r--groff.spec5
-rw-r--r--nroff9
2 files changed, 6 insertions, 8 deletions
diff --git a/groff.spec b/groff.spec
index d0fcbf7..bdb52d5 100644
--- a/groff.spec
+++ b/groff.spec
@@ -3,7 +3,7 @@
Summary: A document formatting system
Name: groff
Version: 1.18.1.4
-Release: 5%{?dist}
+Release: 6%{?dist}
License: GPL
Group: Applications/Publishing
URL: http://groff.ffii.org
@@ -233,7 +233,8 @@ exit 0
%endif
%changelog
-* Thu Aug 16 2007 Marcela Maslanova <mmaslano@redhat.com> - 1.18.1.4-5
+* Thu Aug 16 2007 Marcela Maslanova <mmaslano@redhat.com> - 1.18.1.4-6
+- rebuild
- nroff was changed: man pages are printed, when partion is ro and
other encoding could be print correct
diff --git a/nroff b/nroff
index 5588a4f..49a71bc 100644
--- a/nroff
+++ b/nroff
@@ -4,8 +4,7 @@
prog="$0"
charset_in=iso-8859-1
charset_out=`locale charmap 2>/dev/null`
-opts=
-othercoding=0
+opts="-mtty-char -Tutf8"
# Default device.
# First try the "locale charmap" command, because it's most reliable.
@@ -51,6 +50,7 @@ case "`locale charmap 2>/dev/null`" in
esac ;;
esac
+
for i
do
case $1 in
@@ -67,7 +67,7 @@ do
-[iptSUC] | -[mrno]*)
opts="$opts $1" ;;
-Tascii | -Tlatin1 | -Tutf8 | -Tcp1047 | -Tascii8 | -Tnippon | -Tkorean)
- othercoding=1
+ opts=
T=$1 ;;
-T*)
# ignore other devices
@@ -120,9 +120,6 @@ export LC_ALL=en_US.UTF-8
# This shell script is intended for use with man, so warnings are
# probably not wanted. Also load nroff-style character definitions.
-if [ "$othercoding" == 0 ]; then
- opts="-mtty-char -Tutf8"
-fi
if [ $charset_in = utf-8 -a $charset_out = UTF-8 ]; then
if [ $TMPFILE = buf ]; then