Fix get_sectioning_number function problem
This commit is contained in:
parent
6ad85fe42a
commit
e4ad24727d
20
texinfo-4.13a-makeinfo-sectioning.patch
Normal file
20
texinfo-4.13a-makeinfo-sectioning.patch
Normal 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);
|
||||
}
|
||||
}
|
@ -3,7 +3,7 @@
|
||||
Summary: Tools needed to create Texinfo format documentation files
|
||||
Name: texinfo
|
||||
Version: 4.13a
|
||||
Release: 12%{?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
|
||||
@ -165,6 +168,10 @@ fi
|
||||
%{_mandir}/man1/pdftexi2dvi.1*
|
||||
|
||||
%changelog
|
||||
* Wed Nov 10 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 4.13a-13
|
||||
- Fix get_sectioning_number function problem
|
||||
Resolves: #651314
|
||||
|
||||
* Tue Nov 9 2010 Jindrich Novy <jnovy@redhat.com> - 4.13a-12
|
||||
- require tex(tex) instead of tetex in texinfo-tex
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user