graphviz/graphviz-neato_splines.patch
Stephan Kulow e1ff0bc3c5 Accepting request 34972 from home:oertel:branches:openSUSE:Factory
Copy from home:oertel:branches:openSUSE:Factory/graphviz via accept of submit request 34972 revision 5.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/34972
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=8
2010-03-17 16:17:59 +00:00

12 lines
261 B
Diff

--- lib/neatogen/neatosplines.c
+++ lib/neatogen/neatosplines.c
@@ -63,6 +63,8 @@
n = n + poly[i]->pn;
}
bar = N_GNEW(n, Pedge_t);
+ if (bar == (Pedge_t *)1)
+ bar = (Pedge_t *)0;
b = 0;
for (i = 0; i < npoly; i++) {
if (i == pp)