--- graphviz-2.26.3/lib/gvpr/actions.h	2010-05-19 14:54:56.000000000 -0400
+++ graphviz-2.26.3/lib/gvpr/actions.h	2010-05-19 14:27:46.000000000 -0400
@@ -25,7 +25,7 @@
 #include "expr.h"
 
     extern void nodeInduce(Agraph_t * selected);
-    extern Agobj_t *clone(Agraph_t * g, Agobj_t * obj);
+    extern Agobj_t *ag_clone(Agraph_t * g, Agobj_t * obj);
     extern Agobj_t *copy(Agraph_t * g, Agobj_t * obj);
     extern int copyAttr(Agobj_t * obj, Agobj_t * obj1);
     extern int indexOf(char *s1, char *s2);
--- graphviz-2.26.3/lib/gvpr/actions.c	2010-05-19 14:55:06.000000000 -0400
+++ graphviz-2.26.3/lib/gvpr/actions.c	2010-05-19 14:28:15.000000000 -0400
@@ -359,7 +359,7 @@
     free (data);
 }
 
-/* clone:
+/* ag_clone:
  * Create new object of type AGTYPE(obj) with all of its
  * attributes and substructure.
  * If obj is an edge, end nodes are cloned if necessary.
@@ -367,7 +367,7 @@
  * graph. Otherwise, create a clone subgraph of g.
  * Assume obj != NULL.
  */
-Agobj_t *clone(Agraph_t * g, Agobj_t * obj)
+Agobj_t *ag_clone(Agraph_t * g, Agobj_t * obj)
 {
     Agobj_t *nobj = 0;
     Agedge_t *e;
@@ -377,7 +377,7 @@
     char *name;
 
     if ((kind != AGRAPH) && !g) {
-	exerror("NULL graph with non-graph object in clone()");
+	exerror("NULL graph with non-graph object in ag_clone()");
 	return 0;
     }
 
@@ -401,8 +401,8 @@
     case AGINEDGE:
     case AGOUTEDGE:
 	e = (Agedge_t *) obj;
-	t = (Agnode_t *) clone(g, OBJ(agtail(e)));
-	h = (Agnode_t *) clone(g, OBJ(aghead(e)));
+	t = (Agnode_t *) ag_clone(g, OBJ(agtail(e)));
+	h = (Agnode_t *) ag_clone(g, OBJ(aghead(e)));
 	name = agnameof (AGMKOUT(e));
 	nobj = (Agobj_t *) openEdge(g, t, h, name);
 	if (nobj)
--- graphviz-2.26.3/lib/gvpr/compile.c	2010-05-19 14:54:28.000000000 -0400
+++ graphviz-2.26.3/lib/gvpr/compile.c	2010-05-19 14:28:55.000000000 -0400
@@ -1086,7 +1086,7 @@
 		error(ERROR_WARNING, "NULL object passed to clone()");
 		v.integer = 0;
 	    } else
-		v.integer = PTR2INT(clone(gp, objp));
+		v.integer = PTR2INT(ag_clone(gp, objp));
 	    break;
 	case F_copya:
 	    objp = INT2PTR(Agobj_t *, args[0].integer);
--- graphviz-2.26.3/lib/gvpr/gvpr.c	2010-05-19 14:54:17.000000000 -0400
+++ graphviz-2.26.3/lib/gvpr/gvpr.c	2010-05-19 14:54:14.000000000 -0400
@@ -750,7 +750,7 @@
     Agraph_t* g = state->outgraph;
 
     if ((agroot(g) == state->curgraph) && !uopts->ingraphs)
-	g = (Agraph_t*)clone (0, (Agobj_t *)g);
+	g = (Agraph_t*)ag_clone (0, (Agobj_t *)g);
 
     uopts->n_outgraphs++;
     uopts->outgraphs = oldof(uopts->outgraphs,Agraph_t*,uopts->n_outgraphs,0);
@@ -932,7 +932,7 @@
 
 		/* begin graph */
 		if (incoreGraphs && (opts->compflags & CLONE))
-		    state->curgraph = (Agraph_t*)clone (0, (Agobj_t*)(state->curgraph));
+		    state->curgraph = (Agraph_t*)ag_clone (0, (Agobj_t*)(state->curgraph));
 		state->curobj = (Agobj_t *) state->curgraph;
 		state->tvroot = 0;
 		if (bp->begg_stmt)
