Author: cnolan
Update of /cvs/nonfree/rpms/wl-kmod/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv14382
Modified Files:
wl-kmod.spec
Added Files:
broadcom-wl-5.10.91.9.3-linux-2.6.32.patch
Log Message:
* Tue Feb 09 2010 Chris Nolan <chris(a)cenolan.com> - 5.10.91.9.3-4
- added patch for linux kernel 2.6.32
broadcom-wl-5.10.91.9.3-linux-2.6.32.patch:
wl_linux.c | 3 +++
1 file changed, 3 insertions(+)
--- NEW FILE broadcom-wl-5.10.91.9.3-linux-2.6.32.patch ---
diff -rup hybrid-portsrc-x86_32-v5.10.91.9.3/src/wl/sys/wl_linux.c
hybrid-portsrc-x86_32-v5.10.91.9.3_EDIT/src/wl/sys/wl_linux.c
--- hybrid-portsrc-x86_32-v5.10.91.9.3/src/wl/sys/wl_linux.c 2009-09-10 20:21:58.000000000
+0200
+++ hybrid-portsrc-x86_32-v5.10.91.9.3_EDIT/src/wl/sys/wl_linux.c 2009-12-07
12:51:20.000000000 +0100
@@ -40,6 +40,9 @@
#include <linux/pci_ids.h>
#define WLC_MAXBSSCFG 1
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 32)
+#include <linux/sched.h>
+#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
#include <net/lib80211.h>
#endif
Index: wl-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/devel/wl-kmod.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- wl-kmod.spec 22 Nov 2009 13:17:37 -0000 1.48
+++ wl-kmod.spec 9 Feb 2010 21:51:38 -0000 1.49
@@ -7,7 +7,7 @@
Name: wl-kmod
Version: 5.10.91.9.3
-Release: 3%{?dist}.7
+Release: 4%{?dist}
Summary: Kernel module for broadcom wireless devices
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -16,6 +16,7 @@
Source1:
http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_64-v5.10.91.9.3...
Source11: broadcom-wl-kmodtool-excludekernel-filterfile
Patch0: broadcom-wl-5.10.91.9.3-license.patch
+Patch1: broadcom-wl-5.10.91.9.3-linux-2.6.32.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{_bindir}/kmodtool
@@ -53,6 +54,7 @@
tar xzf %{SOURCE1}
%endif
%patch0 -p1 -b .license
+%patch1 -p1 -b .kernelfix
popd
for kernel_version in %{?kernel_versions} ; do
@@ -82,6 +84,9 @@
rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Feb 09 2010 Chris Nolan <chris(a)cenolan.com> - 5.10.91.9.3-4
+- added patch for linux kernel 2.6.32
+
* Sun Nov 22 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> -
5.10.91.9.3-3.7
- rebuild for new kernel, disable i586 builds