aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/packages/rpm/el5/SOURCES/xserver-1.5.1-mode-debug.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/packages/rpm/el5/SOURCES/xserver-1.5.1-mode-debug.patch')
-rw-r--r--contrib/packages/rpm/el5/SOURCES/xserver-1.5.1-mode-debug.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/contrib/packages/rpm/el5/SOURCES/xserver-1.5.1-mode-debug.patch b/contrib/packages/rpm/el5/SOURCES/xserver-1.5.1-mode-debug.patch
new file mode 100644
index 00000000..11fe5ada
--- /dev/null
+++ b/contrib/packages/rpm/el5/SOURCES/xserver-1.5.1-mode-debug.patch
@@ -0,0 +1,26 @@
+From 079910986a1b8f5042e16ee2ba3ad9ed843b67ca Mon Sep 17 00:00:00 2001
+From: Adam Jackson <ajax@redhat.com>
+Date: Tue, 7 Oct 2008 11:09:14 -0400
+Subject: [PATCH] Force ModeDebug on.
+
+---
+ hw/xfree86/modes/xf86Crtc.c | 3 +--
+ 1 files changed, 1 insertions(+), 2 deletions(-)
+
+diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
+index 9bcf81b..a953c8a 100644
+--- a/hw/xfree86/modes/xf86Crtc.c
++++ b/hw/xfree86/modes/xf86Crtc.c
+@@ -2084,8 +2084,7 @@ xf86InitialConfiguration (ScrnInfoPtr scrn, Bool canGrow)
+ xf86ProcessOptions (scrn->scrnIndex,
+ scrn->options,
+ config->options);
+- config->debug_modes = xf86ReturnOptValBool (config->options,
+- OPTION_MODEDEBUG, FALSE);
++ config->debug_modes = TRUE;
+
+ if (scrn->display->virtualX)
+ width = scrn->display->virtualX;
+--
+1.6.0.1
+