[MacPorts] #41454: root @5.34.12: build fails with graphviz-devel

MacPorts noreply at macports.org
Fri Nov 29 01:44:07 PST 2013


#41454: root @5.34.12: build fails with graphviz-devel
---------------------------+-----------------------------------
  Reporter:  ryandesign@…  |      Owner:  mattiafrancescomoro@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.1
Resolution:                |   Keywords:
      Port:  root          |
---------------------------+-----------------------------------

Comment (by mojca@…):

 Ryan, if this is a problem for you, feel free to add `-DWITH_CGRAPH` to
 `CXXFLAGS`, test (I didn't) and commit the change (without revbump) if
 Chris agrees. It turns out that graphviz removed all references to that
 variable one month ago, see:
   *
 https://github.com/ellson/graphviz/commits/master/lib/common/types.h.in
 and ROOT used that variable to determine whether to treat graphviz version
 as "old" or "new":
 {{{
 void TGraphEdge::CreateGVEdge(Agraph_t *gv)
 {
    // Create the GraphViz edge into the GraphViz data structure gv.

    if (gv) {
       Agnode_t *n1 = fNode1->GetGVNode();
       Agnode_t *n2 = fNode2->GetGVNode();
 #ifdef WITH_CGRAPH
       fGVEdge = agedge(gv, n1, n2, NULL, 1);
 #else
       fGVEdge = agedge(gv, n1, n2);
 #endif
    } else {
       Error("CreateGVEdge","Invalid graphviz graph");
    }
 }
 }}}
 Up to the version from one month ago it would use the first definition and
 with the latest version it would fall back to the old one.

 The ROOT developers are working on this, see my reference to the upstream
 report above.

-- 
Ticket URL: <https://trac.macports.org/ticket/41454#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list