Comment # 1 on bug 1225776 from Martin Jambor
The error when compiling cmd/lefty/tbl.c can be fixed with the
following patch.  Accordig to https://graphviz.org/docs/cli/lefty/ it
is deprecated and so we might need to carry that patch but that seems
OK.

--- graphviz-2.49.3/cmd/lefty/tbl.c~    2021-10-23 00:02:14.000000000 +0000
+++ graphviz-2.49.3/cmd/lefty/tbl.c     2024-07-09 13:00:01.366640148 +0000
@@ -170,7 +170,7 @@
             cp2[i] = cp[i];
             if (cp2[i].next != C_NULL)
                 cp2[i].next -= ci;
-            s = &cp[i].u.s;
+            s = &cp[i].u.s[0];
             while (*s)
                 s++;
             cn = (long) (s - (char *) &cp[i]) / sizeof (Code_t);


You are receiving this mail because: