From 31e07aa29ba00adf13d74cdfb280d60b865eac8d Mon Sep 17 00:00:00 2001 From: John Ellson Date: Tue, 15 Oct 2013 22:50:01 -0400 Subject: [PATCH] apply Fedora's graphviz-2.32.0-testsuite-sigsegv-fix.patch --- lib/gvc/gvconfig.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/gvc/gvconfig.c b/lib/gvc/gvconfig.c index dc3d57820..faa9221ea 100644 --- a/lib/gvc/gvconfig.c +++ b/lib/gvc/gvconfig.c @@ -507,6 +507,7 @@ void gvconfig(GVC_t * gvc, boolean rescan) libdir = gvconfig_libdir(gvc); rc = stat(libdir, &libdir_st); if (rc == -1) { + gvtextlayout_select(gvc); /* choose best available textlayout plugin immediately */ /* if we fail to stat it then it probably doesn't exist so just fail silently */ return; } @@ -521,6 +522,7 @@ void gvconfig(GVC_t * gvc, boolean rescan) if (rescan) { config_rescan(gvc, gvc->config_path); gvc->config_found = TRUE; + gvtextlayout_select(gvc); /* choose best available textlayout plugin immediately */ return; } @@ -528,6 +530,7 @@ void gvconfig(GVC_t * gvc, boolean rescan) rc = stat(gvc->config_path, &config_st); if (rc == -1) { + gvtextlayout_select(gvc); /* choose best available textlayout plugin immediately */ /* silently return without setting gvc->config_found = TRUE */ return; } -- 2.40.0