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

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