rpms/wl-kmod/devel broadcom-wl-5.100.82.112-kernel-3.4.patch, NONE, 1.1 wl-kmod.spec, 1.62, 1.63

Nicolas Viéville nvieville at rpmfusion.org
Fri Jun 8 22:08:16 CEST 2012


Author: nvieville

Update of /cvs/nonfree/rpms/wl-kmod/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv29973

Modified Files:
	wl-kmod.spec 
Added Files:
	broadcom-wl-5.100.82.112-kernel-3.4.patch 
Log Message:
* Fri Jun 08 2012 Nicolas Vieville <nicolas.vieville at univ-valenciennes.fr> - 5.100.82.112-3
- Added patch to build for kernel >= 3.4


broadcom-wl-5.100.82.112-kernel-3.4.patch:
 wl_linux.c |    2 ++
 1 file changed, 2 insertions(+)

--- NEW FILE broadcom-wl-5.100.82.112-kernel-3.4.patch ---
diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_linux.c hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_linux.c
--- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_linux.c	2012-01-09 15:07:19.779120052 +0100
+++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_linux.c	2012-06-08 19:33:56.732583669 +0200
@@ -40,7 +40,9 @@
 #include <linux/pci_ids.h>
 #define WLC_MAXBSSCFG		1	
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0)
 #include <asm/system.h>
+#endif
 #include <asm/io.h>
 #include <asm/irq.h>
 #include <asm/pgtable.h>


Index: wl-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/devel/wl-kmod.spec,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- wl-kmod.spec	19 Apr 2012 21:19:12 -0000	1.62
+++ wl-kmod.spec	8 Jun 2012 20:08:16 -0000	1.63
@@ -7,7 +7,7 @@
 
 Name:		wl-kmod
 Version:	5.100.82.112
-Release:	2%{?dist}.1
+Release:	3%{?dist}
 Summary:	Kernel module for Broadcom wireless devices
 Group:		System Environment/Kernel
 License:	Redistributable, no modification permitted
@@ -17,6 +17,7 @@
 Source11:	broadcom-wl-kmodtool-excludekernel-filterfile
 Patch0:		broadcom-wl-5.100.82.112-license.patch
 Patch1:		broadcom-wl-5.100.82.112-kernel-3.2.patch
+Patch2:		broadcom-wl-5.100.82.112-kernel-3.4.patch
 
 BuildRequires:	%{_bindir}/kmodtool
 
@@ -54,6 +55,7 @@
 %endif
 %patch0 -p1 -b .license
 %patch1 -p1 -b .kernel-3.2
+%patch2 -p1 -b .kernel-3.4
 popd
 
 for kernel_version in %{?kernel_versions} ; do
@@ -83,6 +85,9 @@
 rm -rf $RPM_BUILD_ROOT
 
 %changelog
+* Fri Jun 08 2012 Nicolas Vieville <nicolas.vieville at univ-valenciennes.fr> - 5.100.82.112-3
+- Added patch to build for kernel >= 3.4
+
 * Thu Apr 19 2012 Nicolas Viéville <nicolas.vieville at univ-valenciennes.fr> - 5.100.82.112-2.1
 - Rebuilt for Rawhide
 


More information about the rpmfusion-commits mailing list