* Tue Oct 7 2008 Adam Jackson <ajax@redhat.com> 1.5.1-7

- xserver-1.5.1-mode-debug.patch: Force mode debugging on.
This commit is contained in:
Adam Jackson 2008-10-07 15:35:36 +00:00
parent 586114bbfc
commit 47a0d78a36
2 changed files with 33 additions and 1 deletions

View File

@ -19,7 +19,7 @@
Summary: X.Org X11 X server
Name: xorg-x11-server
Version: 1.5.1
Release: 6%{?dist}
Release: 7%{?dist}
URL: http://www.x.org
License: MIT
Group: User Interface/X
@ -82,6 +82,9 @@ Patch6001: xserver-1.5.0-edid-backport.patch
# FDO bug 14373 (FIXED), RH bug #460545
Patch6002: xserver-1.5.0-xkb-core-kbd-map-fix.patch
# force mode debugging on for randr 1.2 drivers
Patch6003: xserver-1.5.1-mode-debug.patch
%define moduledir %{_libdir}/xorg/modules
%define drimoduledir %{_libdir}/dri
%define sdkdir %{_includedir}/xorg
@ -512,6 +515,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Oct 7 2008 Adam Jackson <ajax@redhat.com> 1.5.1-7
- xserver-1.5.1-mode-debug.patch: Force mode debugging on.
* Tue Oct 7 2008 Peter Hutterer <peter.hutterer@redhat.com> 1.5.1-6
- xserver-1.5.0-xkb-core-kbd-map-fix.patch: don't invent groups when mapping
from xkb to core and back, and squash canonical types into explicit ones on

View File

@ -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