commit groff for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package groff for openSUSE:Factory checked in at Mon Sep 21 21:03:34 CEST 2009. -------- --- groff/groff.changes 2009-02-02 18:48:55.000000000 +0100 +++ /mounts/work_src_done/STABLE/groff/groff.changes 2009-09-21 11:16:39.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Sep 21 11:11:05 CEST 2009 - tiwai@suse.de + +- fix broken output of man page when $LANGUAGE is set empty + (bnc#540600) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- nroff-empty-LANGUAGE-fix.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ groff.spec ++++++ --- /var/tmp/diff_new_pack.D4ylDH/_old 2009-09-21 21:03:06.000000000 +0200 +++ /var/tmp/diff_new_pack.D4ylDH/_new 2009-09-21 21:03:06.000000000 +0200 @@ -22,14 +22,14 @@ BuildRequires: bison fdupes gcc-c++ %define build_groff_docu 1 # -License: BSD 3-Clause; GPL v2 or later +License: BSD 3-clause (or similar) ; GPL v2 or later Group: Productivity/Publishing/Troff Provides: normal-groff, jgroff Obsoletes: jgroff PreReq: %fillup_prereq %install_info_prereq AutoReqProv: on Version: 1.18.1.1 -Release: 169 +Release: 170 Summary: GNU troff Document Formatting System Url: http://www.gnu.org/software/groff/groff.html # cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/groff co groff @@ -54,6 +54,7 @@ Patch13: fgets-overflow.patch Patch14: groff-1.18.1.1-destbufferoverflow.patch Patch446710: bnc446710.patch +Patch540600: nroff-empty-LANGUAGE-fix.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -90,6 +91,7 @@ %patch13 -p0 %patch14 %patch446710 -p1 +%patch540600 -p1 %build # remove empty backups ++++++ gxdview.spec ++++++ --- /var/tmp/diff_new_pack.D4ylDH/_old 2009-09-21 21:03:06.000000000 +0200 +++ /var/tmp/diff_new_pack.D4ylDH/_new 2009-09-21 21:03:06.000000000 +0200 @@ -25,7 +25,7 @@ Requires: groff Conflicts: jgxdview Version: 1.18.1.1 -Release: 210 +Release: 211 Summary: Ditroff Output Displayer for Groff Url: http://www.gnu.org/software/groff/groff.html Source0: ftp://ftp.gnu.org/gnu/groff/groff-1.18.1.1.tar.bz2 ++++++ nroff-empty-LANGUAGE-fix.diff ++++++ --- src/roff/nroff/nroff.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) --- a/src/roff/nroff/nroff.sh +++ b/src/roff/nroff/nroff.sh @@ -203,10 +203,22 @@ # mv $TMPDIR/input.new $TMPDIR/input #fi +getlang () { + if [ -n "$LANGUAGE" ]; then + echo $LANGUAGE + elif [ -n "$LC_ALL" ]; then + echo $LC_ALL + elif [ -n "$LC_MESSAGES" ]; then + echo $LC_MESSAGES + else + echo $LANG + fi +} + ICONV="cat" case "`locale charmap 2>/dev/null`" in UTF-8) - case "${LANGUAGE-${LC_ALL-${LC_MESSAGES-${LANG}}}}" in + case `getlang` in ja*) # Japanese man page in UTF-8 locale, special case! # force the device 'nippon' to run groff in ja_JP.eucJP locale ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de