Blame SOURCES/graphviz-2.26.0-testsuite-sigsegv-fix.patch

a2d586
--- graphviz-2.26.0/lib/gvc/gvconfig.c.old	2009-07-08 17:14:20.000000000 +0200
a2d586
+++ graphviz-2.26.0/lib/gvc/gvconfig.c	2010-10-20 11:51:21.238392202 +0200
a2d586
@@ -471,6 +471,7 @@
a2d586
         libdir = gvconfig_libdir(gvc);
a2d586
         rc = stat(libdir, &libdir_st);
a2d586
         if (rc == -1) {
a2d586
+            gvtextlayout_select(gvc);   /* choose best available textlayout plugin immediately */
a2d586
     	    /* if we fail to stat it then it probably doesn't exist so just fail silently */
a2d586
 	    return;
a2d586
         }
a2d586
@@ -485,6 +486,7 @@
a2d586
         if (rescan) {
a2d586
     	    config_rescan(gvc, gvc->config_path);
a2d586
     	    gvc->config_found = TRUE;
a2d586
+            gvtextlayout_select(gvc);   /* choose best available textlayout plugin immediately */
a2d586
     	    return;
a2d586
         }
a2d586
     
a2d586
@@ -492,6 +494,7 @@
a2d586
     
a2d586
         rc = stat(gvc->config_path, &config_st);
a2d586
         if (rc == -1) {
a2d586
+            gvtextlayout_select(gvc);   /* choose best available textlayout plugin immediately */
a2d586
     	    /* silently return without setting gvc->config_found = TRUE */
a2d586
     	    return;
a2d586
         }