forked from pool/texinfo
- Use latest CVS version for the last patch
- Be aware that characters of appendix numbering requires a ASCII null if used as string (bnc#788574) OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texinfo?expand=0&rev=32
This commit is contained in:
parent
cbd922340c
commit
9340c663f4
20
texinfo-4.13a-bug788574.diff
Normal file
20
texinfo-4.13a-bug788574.diff
Normal file
@ -0,0 +1,20 @@
|
||||
--- makeinfo/sectioning.c 2008/09/26 11:56:28 1.30
|
||||
+++ makeinfo/sectioning.c 2011/01/15 00:23:19 1.32
|
||||
@@ -256,14 +256,14 @@
|
||||
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]);
|
||||
+ char s[100];
|
||||
+ sprintf (s, "%4d", numbers[0]);
|
||||
return xstrdup (s);
|
||||
}
|
||||
}
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 20 10:02:54 UTC 2012 - werner@suse.de
|
||||
|
||||
- Use latest CVS version for the last patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 19 14:24:06 UTC 2012 - werner@suse.de
|
||||
|
||||
- Be aware that characters of appendix numbering requires a ASCII
|
||||
null if used as string (bnc#788574)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 6 06:18:21 UTC 2012 - coolo@suse.com
|
||||
|
||||
|
@ -61,6 +61,7 @@ Patch6: texi2roff-2.0-gcc4.patch
|
||||
Patch7: texinfo-4.13a-bug640417.diff
|
||||
Patch8: texinfo-4.13a-bug713517.diff
|
||||
Patch9: automake-1.12.patch
|
||||
Patch10: texinfo-4.13a-bug788574.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -106,6 +107,7 @@ rm -rf texi2html-%{version_t2h} texi2roff-%{version_t2r}
|
||||
%patch7 -p1 -b .size_t
|
||||
%patch8 -p0 -b .egrep
|
||||
%patch9 -p1
|
||||
%patch10 -p0 -b .appendix
|
||||
%patch -p0
|
||||
pushd ../texi2html-%{version_t2h}
|
||||
%patch1 -p0
|
||||
|
Loading…
Reference in New Issue
Block a user