OBS User unknown 2007-01-18 00:31:21 +00:00 committed by Git OBS Bridge
parent 5bf2731ef6
commit 4e449655ee
5 changed files with 50 additions and 2 deletions

View File

@ -0,0 +1,30 @@
diff -ru groff-1.18.1.1.orig/src/xditview/draw.c groff-1.18.1.1/src/xditview/draw.c
--- groff-1.18.1.1.orig/src/xditview/draw.c 2007-01-17 13:30:09.000000000 +0100
+++ groff-1.18.1.1/src/xditview/draw.c 2007-01-17 14:31:16.000000000 +0100
@@ -417,19 +417,21 @@
|| !device_code_width (dw->dvi.device_font,
dw->dvi.state->font_size, c, &wid))
return;
- if (dw->dvi.native) {
- DoCharacter (dw, c, wid);
- return;
- }
+
map = QueryFontMap (dw, dw->dvi.state->font_number);
if (!map)
return;
+
+ if (dw->dvi.native) {
+ DoCharacter (dw, c, wid, map->char2XChar2b);
+ return;
+ }
for (name = device_name_for_code (dw->dvi.device_font, c);
name;
name = device_name_for_code ((DeviceFont *)0, c)) {
int code = DviCharIndex (map, name);
if (code >= 0) {
- DoCharacter (dw, code, wid);
+ DoCharacter (dw, code, wid, map->char2XChar2b);
break;
}
if (FakeCharacter (dw, name, wid))

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 17 14:33:50 CET 2007 - mfabian@suse.de
- Bugzilla #217106: too few arguments in function call.
-------------------------------------------------------------------
Tue Jan 09 22:01:52 CET 2007 - mfabian@suse.de

View File

@ -21,7 +21,7 @@ Obsoletes: jgroff
Prereq: %fillup_prereq %install_info_prereq
Autoreqprov: on
Version: 1.18.1.1
Release: 54
Release: 56
Summary: GNU troff Document Formatting System
URL: http://www.gnu.org/software/groff/groff.html
Source0: ftp://ftp.gnu.org/gnu/groff/groff-1.18.1.1.tar.bz2
@ -39,6 +39,7 @@ Patch6: debian-fix.patch
Patch7: double-free.patch
Patch8: groffer-security.patch
Patch9: groff-1.18.1.1-gcc41.patch
Patch10: bugzilla-217106-too-few-arguments-in-function-call.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -69,6 +70,7 @@ Authors:
%patch7
%patch8 -p1
%patch9 -p1
%patch10 -p1
%build
# remove empty backups
@ -169,6 +171,8 @@ popd
/var/adm/fillup-templates/sysconfig.suseconfig-groff
%changelog -n groff
* Wed Jan 17 2007 - mfabian@suse.de
- Bugzilla #217106: too few arguments in function call.
* Tue Jan 09 2007 - mfabian@suse.de
- do not build as root.
- make it build in the openSUSE build service.

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 17 14:33:50 CET 2007 - mfabian@suse.de
- Bugzilla #217106: too few arguments in function call.
-------------------------------------------------------------------
Tue Jan 02 18:58:35 CET 2007 - mfabian@suse.de

View File

@ -17,7 +17,7 @@ Autoreqprov: on
Requires: groff
Conflicts: jgxdview
Version: 1.18.1.1
Release: 62
Release: 64
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
@ -35,6 +35,7 @@ Patch6: debian-fix.patch
Patch7: double-free.patch
Patch8: groffer-security.patch
Patch9: groff-1.18.1.1-gcc41.patch
Patch10: bugzilla-217106-too-few-arguments-in-function-call.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -60,6 +61,7 @@ Authors:
%patch7
%patch8 -p1
%patch9 -p1
%patch10 -p1
%build
# remove empty backups
@ -108,6 +110,8 @@ make -C src/xditview install.man MANSUFFIX=1 LIBMANSUFFIX=3 DESTDIR=$RPM_BUILD_R
%config %{_datadir}/X11/app-defaults/GXditview
%changelog -n gxdview
* Wed Jan 17 2007 - mfabian@suse.de
- Bugzilla #217106: too few arguments in function call.
* Tue Jan 02 2007 - mfabian@suse.de
- Bugzilla #230030: make Russian and Czech man-pages display
correctly again in UTF-8 locales (has been broken by the