fix segfault in grotty on 64-bit big endian machines
This commit is contained in:
parent
8435167dae
commit
8f13243823
11
groff-1.18.1.1-bigendian.patch
Normal file
11
groff-1.18.1.1-bigendian.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- groff-1.18.1.1/src/libs/libdriver/input.cc.orig 2006-01-10 11:11:36.000000000 +0100
|
||||||
|
+++ groff-1.18.1.1/src/libs/libdriver/input.cc 2006-01-10 11:11:52.000000000 +0100
|
||||||
|
@@ -1786,7 +1786,7 @@
|
||||||
|
if (npages <= 0)
|
||||||
|
fatal_command(command);
|
||||||
|
char *str_arg = get_string_arg();
|
||||||
|
- size_t i = 0;
|
||||||
|
+ int i = 0;
|
||||||
|
while ((c = str_arg[i++]) != '\0') {
|
||||||
|
EnvInt w;
|
||||||
|
#ifdef ENABLE_MULTIBYTE
|
@ -3,7 +3,7 @@
|
|||||||
Summary: A document formatting system.
|
Summary: A document formatting system.
|
||||||
Name: groff
|
Name: groff
|
||||||
Version: 1.18.1.1
|
Version: 1.18.1.1
|
||||||
Release: 7
|
Release: 8
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
Source0: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz
|
Source0: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz
|
||||||
@ -29,6 +29,7 @@ Patch18: groff-1.18.1.1-do_char.patch
|
|||||||
Patch19: groff-1.18.1.1-grn.patch
|
Patch19: groff-1.18.1.1-grn.patch
|
||||||
Patch20: groff-1.18.1.1-tempfile.patch
|
Patch20: groff-1.18.1.1-tempfile.patch
|
||||||
Patch21: groff-1.18.1.1-gcc41.patch
|
Patch21: groff-1.18.1.1-gcc41.patch
|
||||||
|
Patch22: groff-1.18.1.1-bigendian.patch
|
||||||
|
|
||||||
URL: ftp://ftp.gnu.org/gnu/groff/
|
URL: ftp://ftp.gnu.org/gnu/groff/
|
||||||
Requires: mktemp
|
Requires: mktemp
|
||||||
@ -94,6 +95,7 @@ System display.
|
|||||||
%patch19 -p1 -b .grn
|
%patch19 -p1 -b .grn
|
||||||
%patch20 -p1 -b .tempfile
|
%patch20 -p1 -b .tempfile
|
||||||
%patch21 -p1 -b .gcc41
|
%patch21 -p1 -b .gcc41
|
||||||
|
%patch22 -p1 -b .bigendian
|
||||||
|
|
||||||
for i in contrib/mm/{groff_mm,groff_mmse,mmroff}.man \
|
for i in contrib/mm/{groff_mm,groff_mmse,mmroff}.man \
|
||||||
src/devices/grolbp/grolbp.man; do
|
src/devices/grolbp/grolbp.man; do
|
||||||
@ -205,6 +207,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 10 2006 Miroslav Lichvar <mlichvar@redhat.com> - 1.18.1.1-8
|
||||||
|
- fix segfault in grotty on 64-bit big endian machines (#176904)
|
||||||
|
|
||||||
* Fri Jan 06 2006 Jindrich Novy <jnovy@redhat.com> - 1.18.1.1-7
|
* Fri Jan 06 2006 Jindrich Novy <jnovy@redhat.com> - 1.18.1.1-7
|
||||||
- require X dependencies only for gxditview (#177118)
|
- require X dependencies only for gxditview (#177118)
|
||||||
- work if bash's noclobber is on (#127492)
|
- work if bash's noclobber is on (#127492)
|
||||||
|
Loading…
Reference in New Issue
Block a user