From 5c7617de1777845d1609b301c0f470c90338d06f Mon Sep 17 00:00:00 2001 From: rpm-build Date: Mon, 23 Oct 2017 14:48:51 -0400 Subject: [PATCH] 0001-xfree86-Don-t-autoconfigure-vesa-or-fbdev.patch --- hw/xfree86/common/xf86Config.c | 1 - hw/xfree86/loader/loadmod.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c index 940f5fc..2f9d915 100644 --- a/hw/xfree86/loader/loadmod.c +++ b/hw/xfree86/loader/loadmod.c @@ -525,6 +525,8 @@ LoaderListDirs(const char **subdirlist, const char **patternlist) if (!(stat(buf, &stat_buf) == 0 && S_ISREG(stat_buf.st_mode))) continue; + if (strstr(dp->d_name, "vesa") || strstr(dp->d_name, "fbdev")) + continue; for (p = patterns; p->pattern; p++) { if (regexec(&p->rex, dp->d_name, 2, match, 0) == 0 && match[1].rm_so != -1) { -- 2.14.2