SHA256
3
0
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:
Stephan Kulow 2012-11-22 16:25:34 +00:00 committed by Git OBS Bridge
parent cbd922340c
commit 9340c663f4
3 changed files with 33 additions and 0 deletions

View 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);
}
}

View File

@ -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

View File

@ -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