rpms/xorg-x11-drv-openchrome/F-9 openchrome-0.2.902-unbreak_ActiveDevice.patch, NONE, 1.1 xorg-x11-drv-openchrome.spec, 1.22, 1.23

Xavier Bachelot (xavierb) fedora-extras-commits at redhat.com
Sun May 25 21:32:42 UTC 2008


Author: xavierb

Update of /cvs/pkgs/rpms/xorg-x11-drv-openchrome/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12810

Modified Files:
	xorg-x11-drv-openchrome.spec 
Added Files:
	openchrome-0.2.902-unbreak_ActiveDevice.patch 
Log Message:
unbreak ActiveDevice

openchrome-0.2.902-unbreak_ActiveDevice.patch:

--- NEW FILE openchrome-0.2.902-unbreak_ActiveDevice.patch ---
Index: src/via_driver.c
===================================================================
--- src/via_driver.c	(revision 568)
+++ src/via_driver.c	(working copy)
@@ -1338,13 +1346,13 @@
     /* ActiveDevice Option for device selection */
     //pVia->ActiveDevice = 0x00;
     if ((s = xf86GetOptValString(VIAOptions, OPTION_ACTIVEDEVICE))) {
-        if (xf86strstr(s, "CRT"))
+        if (strstr(s, "CRT"))
             pVia->ActiveDevice |= VIA_DEVICE_CRT;
-        if (xf86strstr(s, "LCD"))
+        if (strstr(s, "LCD"))
             pVia->ActiveDevice |= VIA_DEVICE_LCD;
-        if (xf86strstr(s, "DFP"))  /* just treat this the same as LCD */
+        if (strstr(s, "DFP"))  /* just treat this the same as LCD */
             pVia->ActiveDevice |= VIA_DEVICE_LCD;
-        if (xf86strstr(s, "TV"))
+        if (strstr(s, "TV"))
             pVia->ActiveDevice |= VIA_DEVICE_TV;
     }
 


Index: xorg-x11-drv-openchrome.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-openchrome/F-9/xorg-x11-drv-openchrome.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- xorg-x11-drv-openchrome.spec	16 Apr 2008 22:10:51 -0000	1.22
+++ xorg-x11-drv-openchrome.spec	25 May 2008 21:32:00 -0000	1.23
@@ -9,7 +9,7 @@
 Summary:	Xorg X11 openchrome video driver
 Name:		xorg-x11-drv-openchrome
 Version:	0.2.902
-Release:	3%{?dist}
+Release:	4%{?dist}
 URL:		http://www.openchrome.org
 License:	MIT
 Group:		User Interface/X Hardware Support
@@ -21,6 +21,7 @@
 Patch1:         openchrome-0.2.902-re_enable_AGPDMA.patch
 Patch2:         openchrome-0.2.902-report_version.patch
 Patch3:         openchrome-0.2.902-chipset_revision.patch
+Patch4:         openchrome-0.2.902-unbreak_ActiveDevice.patch
 
 ExclusiveArch:	%{ix86} x86_64
 
@@ -60,6 +61,7 @@
 %patch1 -p0 -b .agpdma
 %patch2 -p0 -b .version
 %patch3 -p0 -b .chiprev
+%patch4 -p0 -b .activedevice
 
 %build
 %configure --disable-static --enable-dri
@@ -107,6 +109,9 @@
 
 
 %changelog
+* Sun May 25 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.902-4
+- Unbreak ActiveDevice option.
+
 * Thu Apr 17 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.902-3
 - Strip leading /trunk/ from patch #2 and #3.
 




More information about the scm-commits mailing list