rpms/groff/devel groff-1.18.1.1-bigendian.patch, NONE, 1.1 groff.spec, 1.31, 1.32

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Jan 11 08:22:35 UTC 2006


Author: mlichvar

Update of /cvs/dist/rpms/groff/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv10239

Modified Files:
	groff.spec 
Added Files:
	groff-1.18.1.1-bigendian.patch 
Log Message:
fix segfault in grotty on 64-bit big endian machines


groff-1.18.1.1-bigendian.patch:
 input.cc |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE groff-1.18.1.1-bigendian.patch ---
--- 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


Index: groff.spec
===================================================================
RCS file: /cvs/dist/rpms/groff/devel/groff.spec,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- groff.spec	6 Jan 2006 19:36:42 -0000	1.31
+++ groff.spec	11 Jan 2006 08:22:33 -0000	1.32
@@ -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 @@
 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 @@
 %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 @@
 %endif
 
 %changelog
+* Fri Jan 10 2006 Miroslav Lichvar <mlichvar at 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 at redhat.com> - 1.18.1.1-7
 - require X dependencies only for gxditview (#177118)
 - work if bash's noclobber is on (#127492)




More information about the fedora-cvs-commits mailing list