graphviz/graphviz-array_overflow.patch
Philipp Thomas 29f0fc8318 - Update to 2.38.0. Changes since 2.36.0:
- Resolve bugs: 2409, 2413, 2417, 2420, 2422, 2423, 2425
   - Enable packing for dot
   - Allow scaling to work for all non-dot layouts
   - Add overline text characteristic.
   - Fix bugs in gvpr and gv.cpp so edges can be created in subgraphs.
   - Add edgepaint program for coloring edges to make them easier to
     tell apart.
   - Modify neato to avoid unnecessary translations of output. This
     allows positions given on input to remain the same on output.
   - Fix swig java package to work and support gv.renderresult.
   - Fix test for the absence of layout (old test relied on statically
     allocated Agraphinfo_t).
   - HTML-like tables and cells can now specify which borders should be drawn.
   - The fixedsize attribute now takes the value "shape" which allows
     labels much larger than the node shape.

- Remove graphviz-fix-includes.patch as the fix has been done 
  upstream.
- Add graphviz-array_overflow.patch to fix an off-by-one error.

OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=85
2014-05-23 13:36:04 +00:00

20 lines
662 B
Diff

---
lib/common/htmltable.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: lib/common/htmltable.c
===================================================================
--- lib/common/htmltable.c.orig 2014-04-13 22:40:25.000000000 +0200
+++ lib/common/htmltable.c 2014-05-23 00:01:41.203062717 +0200
@@ -300,8 +300,8 @@ static void doBorder(GVJ_t * job, htmlda
gvrender_polyline(job, AF+2, 4);
break;
case BORDER_TOP|BORDER_LEFT|BORDER_BOTTOM :
- AF[5] = AF[1];
- AF[6] = AF[2];
+ AF[4] = AF[1];
+ AF[5] = AF[2];
gvrender_polyline(job, AF+3, 4);
break;
case BORDER_LEFT|BORDER_BOTTOM|BORDER_RIGHT :