rpms/i810switch/devel i810switch-0.6.5-add-i945.patch, NONE, 1.1 i810switch.spec, 1.9, 1.10
Matt Domsch (mdomsch)
fedora-extras-commits at redhat.com
Fri Sep 28 00:08:05 UTC 2007
Author: mdomsch
Update of /cvs/extras/rpms/i810switch/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6949
Modified Files:
i810switch.spec
Added Files:
i810switch-0.6.5-add-i945.patch
Log Message:
add i945 detection, fixes BZ297371
i810switch-0.6.5-add-i945.patch:
--- NEW FILE i810switch-0.6.5-add-i945.patch ---
--- i810switch-0.6.5/i810switch.c 2005-06-12 06:36:36.000000000 +0200
+++ i810switch-0.6.5/i810switch.c 2007-05-12 17:54:57.000000000 +0200
@@ -60,6 +60,7 @@
#define I855STR "8086:3582"
//#define I865STR "8086:2572"
#define I915STR "8086:2592"
+#define I945STR "8086:27a2"
#define MEMSTR "Memory at"
#define NONPRSTR "32-bit, non-prefetchable"
@@ -272,7 +273,9 @@
return p;
}
- i = (p = strstr(*buff_ptr, I855STR)) != NULL;
+ i = (p = strstr(*buff_ptr, I855STR)) != NULL ||
+ (p = strstr(*buff_ptr, I945STR)) != NULL;
+
if (i)
{
*chiptype = I855;
Index: i810switch.spec
===================================================================
RCS file: /cvs/extras/rpms/i810switch/devel/i810switch.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- i810switch.spec 2 Oct 2006 20:43:50 -0000 1.9
+++ i810switch.spec 28 Sep 2007 00:07:32 -0000 1.10
@@ -1,6 +1,6 @@
Name: i810switch
Version: 0.6.5
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Utility for switching the LCD and external VGA displays on and off
Group: User Interface/X Hardware Support
@@ -8,6 +8,7 @@
URL: http://www16.plala.or.jp/mano-a-mano/i810switch.html
Source0: http://www16.plala.or.jp/mano-a-mano/i810switch/i810switch-0.6.5.tar.gz
Patch0: i810switch-0.6.2.makefile.patch
+Patch1: i810switch-0.6.5-add-i945.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: pciutils
@@ -18,7 +19,8 @@
%prep
%setup -q
-%patch -p1 -b .buildroot
+%patch0 -p1 -b .buildroot
+%patch1 -p1 -b .i945
make clean
%build
@@ -38,6 +40,9 @@
%{_mandir}/man1/*
%changelog
+* Thu Sep 28 2007 Matt Domsch <Matt_Domsch at dell.com> - 0.6.5-6
+- add i945 detection, fixes BZ297371
+
* Mon Oct 02 2006 Matt Domsch <Matt_Domsch at dell.com> - 0.6.5-5
- rebuild
More information about the fedora-extras-commits
mailing list