rpms/texinfo/F-12 texinfo-4.13a-powerpc.patch, NONE, 1.1 texinfo.spec, 1.65, 1.66

Jan Görig jgorig at fedoraproject.org
Mon Jan 11 14:04:59 UTC 2010


Author: jgorig

Update of /cvs/pkgs/rpms/texinfo/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8618

Modified Files:
	texinfo.spec 
Added Files:
	texinfo-4.13a-powerpc.patch 
Log Message:
- Fix PowerPC return code bug #531349


texinfo-4.13a-powerpc.patch:
 install-info.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE texinfo-4.13a-powerpc.patch ---
diff -up texinfo-4.13/install-info/install-info.c.patch texinfo-4.13/install-info/install-info.c
--- texinfo-4.13/install-info/install-info.c.patch	2010-01-11 14:46:32.000000000 +0100
+++ texinfo-4.13/install-info/install-info.c	2010-01-11 14:48:47.162152695 +0100
@@ -772,7 +772,7 @@ open_possibly_compressed_file (char *fil
     }
   else
     { /* It's a plain file, seek back over the magic bytes.  */
-      if (gzseek (f, 0, SEEK_SET) < 0)
+      if (gzseek (f, 0, SEEK_SET) == -1)
         pfatal_with_name (*opened_filename);
 #if 0 && O_BINARY
       /* Since this is a text file, and we opened it in binary mode,


Index: texinfo.spec
===================================================================
RCS file: /cvs/pkgs/rpms/texinfo/F-12/texinfo.spec,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -p -r1.65 -r1.66
--- texinfo.spec	10 Dec 2009 15:11:04 -0000	1.65
+++ texinfo.spec	11 Jan 2010 14:04:58 -0000	1.66
@@ -3,7 +3,7 @@
 Summary: Tools needed to create Texinfo format documentation files
 Name: texinfo
 Version: 4.13a
-Release: 8%{?dist}
+Release: 9%{?dist}
 License: GPLv3+
 Group: Applications/Publishing
 Url: http://www.gnu.org/software/texinfo/
@@ -14,6 +14,7 @@ Patch0: texinfo-4.12-zlib.patch
 Patch1: texinfo-4.13a-data_types.patch
 # Patch2: is already upstream
 Patch2: texinfo-4.13a-mosdo-crash.patch
+Patch3: texinfo-4.13a-powerpc.patch
 Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -58,6 +59,7 @@ for printing using TeX.
 %patch0 -p1 -b .zlib
 %patch1 -p1 -b .data_types
 %patch2 -p1 -b .mosdo-crash
+%patch3 -p1 -b .powerpc
 
 %build
 %configure
@@ -157,6 +159,9 @@ fi
 %{_mandir}/man1/pdftexi2dvi.1*
 
 %changelog
+* Mon Jan 11 2010 Jan Gorig <jgorig at redhat.com> - 4.13a-9
+- Fix PowerPC return code bug #531349
+
 * Thu Dec 10 2009 Vitezslav Crhonek <vcrhonek at redhat.com> - 4.13a-8
 - Fix memory allocation bug when using old-style --section "Foo" arguments
 



More information about the scm-commits mailing list