pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/anjuta Fix build with newer graphviz.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8443a4ffd41a
branches:  trunk
changeset: 395073:8443a4ffd41a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jul 06 16:11:03 2009 +0000

description:
Fix build with newer graphviz.

diffstat:

 devel/anjuta/distinfo         |   4 +++-
 devel/anjuta/patches/patch-aa |  21 +++++++++++++++++++++
 devel/anjuta/patches/patch-ab |  22 ++++++++++++++++++++++
 3 files changed, 46 insertions(+), 1 deletions(-)

diffs (63 lines):

diff -r b9e7a835d490 -r 8443a4ffd41a devel/anjuta/distinfo
--- a/devel/anjuta/distinfo     Mon Jul 06 16:09:21 2009 +0000
+++ b/devel/anjuta/distinfo     Mon Jul 06 16:11:03 2009 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.19 2008/12/04 17:32:09 wiz Exp $
+$NetBSD: distinfo,v 1.20 2009/07/06 16:11:03 joerg Exp $
 
 SHA1 (anjuta-2.24.2.tar.bz2) = bcbab37d362f36bf1811bcd5c62c26c4fd31ec3e
 RMD160 (anjuta-2.24.2.tar.bz2) = 1f1a7b2820b8f7c10e05f7da0a51727f497dcb75
 Size (anjuta-2.24.2.tar.bz2) = 6713913 bytes
+SHA1 (patch-aa) = 4702c50c7a0ecc94446e1b4b5dcdfbb2d84d6d42
+SHA1 (patch-ab) = d197146b046fdfa030ca2cab168b52350602206b
diff -r b9e7a835d490 -r 8443a4ffd41a devel/anjuta/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/anjuta/patches/patch-aa     Mon Jul 06 16:11:03 2009 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.8 2009/07/06 16:11:03 joerg Exp $
+
+--- plugins/class-inheritance/class-inherit.c.orig     2010-05-31 09:21:05.000000000 +0200
++++ plugins/class-inheritance/class-inherit.c
+@@ -754,12 +754,12 @@ cls_inherit_draw_graph (AnjutaClassInher
+       {
+               gdouble node_width;
+               gdouble node_height;
+-              point node_pos;
++              pointf node_pos;
+               
+               /* get some infos from the node */
+-              node_pos = ND_coord_i(node);
+-              node_width = ND_width (node);
+-              node_height = ND_height (node);
++              node_pos = node->u.coord;
++              node_width = node->u.width;
++              node_height = node->u.height;
+ 
+               if (strcmp ("record", ND_shape (node)->name) == 0 ) {
+                       cls_inherit_draw_expanded_node (plugin, node, &node_pos, node_width, node_height);
diff -r b9e7a835d490 -r 8443a4ffd41a devel/anjuta/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/anjuta/patches/patch-ab     Mon Jul 06 16:11:03 2009 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.8 2009/07/06 16:11:03 joerg Exp $
+
+--- plugins/profiler/gprof-function-call-chart-view.c.orig     2010-05-31 09:26:28.000000000 +0200
++++ plugins/profiler/gprof-function-call-chart-view.c
+@@ -529,7 +529,7 @@ async_draw_graph (gpointer user_data)
+       GProfFunctionCallChartView *self;
+       Agedge_t *current_edge;
+       Agraph_t *current_graph;
+-      point node_pos;
++      pointf node_pos;
+       gdouble node_width;
+       gdouble node_height;
+       
+@@ -541,7 +541,7 @@ async_draw_graph (gpointer user_data)
+               
+               if (self->priv->current_node)
+               {
+-                      node_pos = ND_coord_i (self->priv->current_node);
++                      node_pos = self->priv->current_node->u.coord;
+                       node_pos.y += self->priv->y_offset;
+                       node_width = ND_width (self->priv->current_node);
+                       node_height = ND_height (self->priv->current_node);



Home | Main Index | Thread Index | Old Index