48dc8f4c68
- Re-disable int10 on arm
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From d40219f38a33845d8a9850de47ff5d458a3d8209 Mon Sep 17 00:00:00 2001
|
|
From: Ray Strode <rstrode@redhat.com>
|
|
Date: Fri, 13 Sep 2013 17:17:16 -0400
|
|
Subject: [PATCH 21/38] xf86Init: trim out non-wayland capable servers from
|
|
drive list
|
|
|
|
Otherwise they'll cause the server to crash when run in wayland mode.
|
|
---
|
|
hw/xfree86/common/xf86Init.c | 9 +++++++++
|
|
1 file changed, 9 insertions(+)
|
|
|
|
diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
|
|
index 2d3bb01..6282252 100644
|
|
--- a/hw/xfree86/common/xf86Init.c
|
|
+++ b/hw/xfree86/common/xf86Init.c
|
|
@@ -558,6 +558,15 @@ InitOutput(ScreenInfo * pScreenInfo, int argc, char **argv)
|
|
}
|
|
}
|
|
|
|
+ for (i = 0; i < xf86NumDrivers; i++) {
|
|
+ if (xf86DriverList[i] == NULL) {
|
|
+ for (j = i; j < xf86NumDrivers; j++) {
|
|
+ xf86DriverList[j] = xf86DriverList[j + 1];
|
|
+ }
|
|
+ xf86NumDrivers--;
|
|
+ }
|
|
+ }
|
|
+
|
|
if (xorgHWOpenConsole)
|
|
xf86OpenConsole();
|
|
else
|
|
--
|
|
1.8.4.2
|
|
|