Compare commits

...

4 Commits
master ... f14

Author SHA1 Message Date
Vitezslav Crhonek 03b41eb8a4 Fix missing Texinfo manual in the Directory node 2011-01-11 14:50:11 +01:00
Vitezslav Crhonek 1096776321 Fix get_sectioning_number function problem 2010-11-10 12:30:48 +01:00
Vitezslav Crhonek a2596659c8 Fix incompatible regexp with the latest version of egrep in texi2dvi script 2010-10-11 15:03:37 +02:00
Vitezslav Crhonek 62e96126ab Fix info crash when using index in help window 2010-08-31 14:23:57 +02:00
2 changed files with 37 additions and 6 deletions

View File

@ -0,0 +1,20 @@
diff -up texinfo-4.13/makeinfo/sectioning.c.orig texinfo-4.13/makeinfo/sectioning.c
--- texinfo-4.13/makeinfo/sectioning.c.orig 2010-11-10 11:24:53.000000000 +0100
+++ texinfo-4.13/makeinfo/sectioning.c 2010-11-10 11:25:28.000000000 +0100
@@ -256,14 +256,14 @@ current_chapter_number (void)
return xstrdup ("");
else if (enum_marker == APPENDIX_MAGIC)
{
- char s[1];
+ char s[2];
sprintf (s, "%c", numbers[0] + 64);
return xstrdup (s);
}
else
{
char s[5];
- sprintf (s, "%d", numbers[0]);
+ sprintf (s, "%4d", numbers[0]);
return xstrdup (s);
}
}

View File

@ -3,7 +3,7 @@
Summary: Tools needed to create Texinfo format documentation files
Name: texinfo
Version: 4.13a
Release: 11%{?dist}
Release: 13%{?dist}
License: GPLv3+
Group: Applications/Publishing
Url: http://www.gnu.org/software/texinfo/
@ -19,6 +19,8 @@ Patch3: texinfo-4.13a-powerpc.patch
Patch4: texinfo-4.13a-help-index-segfault.patch
# Patch5: already upstream, bz641534
Patch5: texinfo-4.13a-texi2dvi-regexp.patch
# Patch6: already upstream, bz651314
Patch6: texinfo-4.13a-makeinfo-sectioning.patch
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -66,6 +68,7 @@ for printing using TeX.
%patch3 -p1 -b .powerpc
%patch4 -p1 -b .help-index-segfault
%patch5 -p1 -b .texi2dvi-regexp
%patch6 -p1 -b .makeinfo-sectioning
%build
%configure
@ -95,14 +98,14 @@ mv ChangeLog_utf8 ChangeLog
rm -rf ${RPM_BUILD_ROOT}
%post
if [ -f %{_infodir}/texinfo ]; then # --excludedocs?
/sbin/install-info %{_infodir}/texinfo %{_infodir}/dir || :
if [ -f %{_infodir}/texinfo.gz ]; then # --excludedocs?
/sbin/install-info %{_infodir}/texinfo.gz %{_infodir}/dir || :
fi
%preun
if [ $1 = 0 ]; then
if [ -f %{_infodir}/texinfo ]; then # --excludedocs?
/sbin/install-info --delete %{_infodir}/texinfo %{_infodir}/dir || :
if [ -f %{_infodir}/texinfo.gz ]; then # --excludedocs?
/sbin/install-info --delete %{_infodir}/texinfo.gz %{_infodir}/dir || :
fi
fi
@ -165,8 +168,16 @@ fi
%{_mandir}/man1/pdftexi2dvi.1*
%changelog
* Tue Jan 11 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-13
- Fix missing Texinfo manual in the Directory node
Resolves: #662382
* Wed Nov 10 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-12
- Fix get_sectioning_number function problem
Resolves: #651314
* Mon Oct 11 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-11
- Fix incopatible regexp with the lates version of egrep in texi2dvi script
- Fix incompatible regexp with the latest version of egrep in texi2dvi script
Resolves: #641534
* Tue Aug 31 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-10