[ports-i386@FreeBSD.org: anjuta-2.24.2 failed on i386 6]
Michael Svobodin
admik at admik.pp.ru
Tue Apr 7 00:04:28 PDT 2009
On Tue, Apr 07, 2009 at 01:09:02PM +0800, Michael Svobodin wrote:
> On Thu, Mar 26, 2009 at 11:39:14PM +0100, Erwin Lansing wrote:
> >
> > FYI; can you please investigate and/or report to the developers? If
> > you are already aware of this problem but do not yet have a fix,
> > please mark the port BROKEN in the appropriate case, so that users do
> > not unexpectedly encounter it.
> >
> > See http://pointyhat.freebsd.org for the full log.
> >
> > Thanks,
> > -erwin
> >
>
> The reason is updated graphviz.
> Workaround patches're in the attachment.
>
Patches:
--- plugins/class-inheritance/class-inherit.c.orig 2008-10-19 23:35:30.000000000 +0800
+++ plugins/class-inheritance/class-inherit.c 2009-04-07 12:21:53.000000000 +0800
@@ -755,9 +755,17 @@
gdouble node_width;
gdouble node_height;
point node_pos;
+#ifndef ND_coord_i
+ pointf node_posf;
+#endif
/* get some infos from the node */
+#ifdef ND_coord_i
node_pos = ND_coord_i(node);
+#else
+ node_posf = ND_coord(node);
+ PF2P(node_posf, node_pos);
+#endif
node_width = ND_width (node);
node_height = ND_height (node);
--- plugins/profiler/gprof-function-call-chart-view.c.orig 2008-10-19 23:35:26.000000000 +0800
+++ plugins/profiler/gprof-function-call-chart-view.c 2009-04-07 12:21:06.000000000 +0800
@@ -530,6 +530,9 @@
Agedge_t *current_edge;
Agraph_t *current_graph;
point node_pos;
+#ifndef ND_coord_i
+ pointf node_posf;
+#endif
gdouble node_width;
gdouble node_height;
@@ -541,7 +544,13 @@
if (self->priv->current_node)
{
+#ifdef ND_coord_i
node_pos = ND_coord_i (self->priv->current_node);
+#else
+ node_posf = ND_coord (self->priv->current_node);
+ PF2P(node_posf, node_pos);
+#endif
+
node_pos.y += self->priv->y_offset;
node_width = ND_width (self->priv->current_node);
node_height = ND_height (self->priv->current_node);
More information about the freebsd-gnome
mailing list