diff options
author | rhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9> | 2009-09-01 13:01:06 +0000 |
---|---|---|
committer | rhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9> | 2009-09-01 13:01:06 +0000 |
commit | 757893838b1559a924e1673f83da97a50cb55476 (patch) | |
tree | e30c3c8e829f72fac510bf838dcfd7f763b86f74 /app/text/htmldoc/htmldoc-1.8.27.diff | |
parent | 73085dd25f0eee2ef4d2caa593c20e6ef66d02f2 (diff) | |
download | mkbuilds-757893838b1559a924e1673f83da97a50cb55476.tar.gz mkbuilds-757893838b1559a924e1673f83da97a50cb55476.tar.bz2 |
htmldoc: Fixing gentoo bug 278186
git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@506 18ef50b8-d735-4ccd-97c1-689132df3dd9
Diffstat (limited to 'app/text/htmldoc/htmldoc-1.8.27.diff')
-rw-r--r-- | app/text/htmldoc/htmldoc-1.8.27.diff | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app/text/htmldoc/htmldoc-1.8.27.diff b/app/text/htmldoc/htmldoc-1.8.27.diff new file mode 100644 index 0000000..ee7859c --- /dev/null +++ b/app/text/htmldoc/htmldoc-1.8.27.diff @@ -0,0 +1,36 @@ +diff -ru a/htmldoc/htmllib.cxx b/htmldoc/htmllib.cxx +--- a/htmldoc/htmllib.cxx 2006-06-07 19:43:52.000000000 +0200 ++++ b/htmldoc/htmllib.cxx 2009-08-01 19:52:46.301099436 +0200 +@@ -2139,7 +2139,7 @@ + * assigned charset... + */ + +- if (sscanf(line, "%*s%*s%*s%*s%f%*s%*s%s", &width, glyph) != 2) ++ if (sscanf(line, "%*s%*s%*s%*s%f%*s%*s%63s", &width, glyph) != 2) + continue; + + for (ch = 0; ch < 256; ch ++) +diff -ru a/htmldoc/ps-pdf.cxx b/htmldoc/ps-pdf.cxx +--- a/htmldoc/ps-pdf.cxx 2006-08-01 18:58:50.000000000 +0200 ++++ b/htmldoc/ps-pdf.cxx 2009-08-01 19:53:14.300610480 +0200 +@@ -12512,7 +12512,7 @@ + * assigned charset... + */ + +- if (sscanf(line, "%*s%*s%*s%*s%d%*s%*s%s", &width, glyph) != 2) ++ if (sscanf(line, "%*s%*s%*s%*s%d%*s%*s%63s", &width, glyph) != 2) + continue; + + for (ch = 0; ch < 256; ch ++) +diff -ru a/htmldoc/util.cxx b/htmldoc/util.cxx +--- a/htmldoc/util.cxx 2005-04-24 21:20:32.000000000 +0200 ++++ b/htmldoc/util.cxx 2009-08-01 19:52:14.469652088 +0200 +@@ -484,7 +484,7 @@ + PageWidth = 595; + PageLength = 792; + } +- else if (sscanf(size, "%fx%f%s", &width, &length, units) >= 2) ++ else if (sscanf(size, "%fx%f%254s", &width, &length, units) >= 2) + { + /* + * Custom size... |