Fix install-info crashes on some info files
This commit is contained in:
parent
66e5bd9561
commit
562e3ad719
12
texinfo-4.12-install-info_crash.patch
Normal file
12
texinfo-4.12-install-info_crash.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up texinfo-4.12/install-info/install-info.c_old texinfo-4.12/install-info/install-info.c
|
||||||
|
--- texinfo-4.12/install-info/install-info.c_old 2008-06-02 13:00:35.000000000 +0200
|
||||||
|
+++ texinfo-4.12/install-info/install-info.c 2008-06-02 13:01:18.000000000 +0200
|
||||||
|
@@ -1465,7 +1465,7 @@ split_entry (char *entry, char **name, s
|
||||||
|
size_t length = strlen (entry);
|
||||||
|
if (length == 0)
|
||||||
|
return;
|
||||||
|
- *name = strdup (ptr);
|
||||||
|
+ *name = strdup (entry);
|
||||||
|
*name_len = length + 1;
|
||||||
|
return;
|
||||||
|
}
|
@ -3,7 +3,7 @@
|
|||||||
Summary: Tools needed to create Texinfo format documentation files
|
Summary: Tools needed to create Texinfo format documentation files
|
||||||
Name: texinfo
|
Name: texinfo
|
||||||
Version: 4.12
|
Version: 4.12
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
Url: http://www.gnu.org/software/texinfo/
|
Url: http://www.gnu.org/software/texinfo/
|
||||||
@ -11,6 +11,7 @@ Source0: ftp://ftp.gnu.org/gnu/texinfo/texinfo-%{version}.tar.gz
|
|||||||
Source1: info-dir
|
Source1: info-dir
|
||||||
Source2: texi2pdf.man
|
Source2: texi2pdf.man
|
||||||
Patch0: texinfo-4.12-zlib.patch
|
Patch0: texinfo-4.12-zlib.patch
|
||||||
|
Patch1: texinfo-4.12-install-info_crash.patch
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
Requires(post): /bin/sed
|
Requires(post): /bin/sed
|
||||||
Requires(preun): /sbin/install-info
|
Requires(preun): /sbin/install-info
|
||||||
@ -54,6 +55,7 @@ for printing using TeX.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .zlib
|
%patch0 -p1 -b .zlib
|
||||||
|
%patch1 -p1 -b .install-info_crash
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
@ -143,6 +145,10 @@ fi
|
|||||||
%{_mandir}/man1/pdftexi2dvi.1*
|
%{_mandir}/man1/pdftexi2dvi.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 2 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.12-3
|
||||||
|
- Fix install-info crashes on some info files
|
||||||
|
Resolves: #449292
|
||||||
|
|
||||||
* Thu May 29 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.12-2
|
* Thu May 29 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.12-2
|
||||||
- Fix Requires and info post script
|
- Fix Requires and info post script
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user