diff options
author | Miroslav Lichvar <mlichvar@fedoraproject.org> | 2006-01-11 08:22:33 +0000 |
---|---|---|
committer | Miroslav Lichvar <mlichvar@fedoraproject.org> | 2006-01-11 08:22:33 +0000 |
commit | 8f13243823a77b0dcb16e285b40c2f180312a7d6 (patch) | |
tree | b48120c7d519330c8a35135cade864d10eb5cb9e | |
parent | 8435167dae1d611323d5aa8ad5640e98fb98e349 (diff) | |
download | groff-8f13243823a77b0dcb16e285b40c2f180312a7d6.tar.gz groff-8f13243823a77b0dcb16e285b40c2f180312a7d6.tar.xz groff-8f13243823a77b0dcb16e285b40c2f180312a7d6.zip |
fix segfault in grotty on 64-bit big endian machines
-rw-r--r-- | groff-1.18.1.1-bigendian.patch | 11 | ||||
-rw-r--r-- | groff.spec | 7 |
2 files changed, 17 insertions, 1 deletions
diff --git a/groff-1.18.1.1-bigendian.patch b/groff-1.18.1.1-bigendian.patch new file mode 100644 index 0000000..1e3998b --- /dev/null +++ b/groff-1.18.1.1-bigendian.patch @@ -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. Name: groff Version: 1.18.1.1 -Release: 7 +Release: 8 License: GPL Group: Applications/Publishing 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 Patch20: groff-1.18.1.1-tempfile.patch Patch21: groff-1.18.1.1-gcc41.patch +Patch22: groff-1.18.1.1-bigendian.patch URL: ftp://ftp.gnu.org/gnu/groff/ Requires: mktemp @@ -94,6 +95,7 @@ System display. %patch19 -p1 -b .grn %patch20 -p1 -b .tempfile %patch21 -p1 -b .gcc41 +%patch22 -p1 -b .bigendian for i in contrib/mm/{groff_mm,groff_mmse,mmroff}.man \ src/devices/grolbp/grolbp.man; do @@ -205,6 +207,9 @@ fi %endif %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 - require X dependencies only for gxditview (#177118) - work if bash's noclobber is on (#127492) |