Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Apr 2009 15:00:59 +0800
From:      Michael Svobodin <admik@admik.pp.ru>
To:        gnome@freebsd.org
Subject:   Re: [ports-i386@FreeBSD.org: anjuta-2.24.2 failed on i386 6]
Message-ID:  <20090407070059.GA48773@b.admik.pp.ru>
In-Reply-To: <20090407050902.GA27227@b.admik.pp.ru>
References:  <20090326223913.GP78186@droso.net> <20090407050902.GA27227@b.admik.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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);


--k1lZvvs/B4yU6o8G--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090407070059.GA48773>