Author: nvieville
Update of /cvs/nonfree/rpms/wl-kmod/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv2783
Modified Files:
wl-kmod.spec
Added Files:
wl-kmod-007_kernel_3.17.patch
Log Message:
* Fri Oct 03 2014 Nicolas Viéville <nicolas.vieville(a)univ-valenciennes.fr> -
6.30.223.248-3
- Added patch to build for kernel >= 3.17
wl-kmod-007_kernel_3.17.patch:
wl_linux.c | 5 +++++
1 file changed, 5 insertions(+)
--- NEW FILE wl-kmod-007_kernel_3.17.patch ---
diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_248.orig/src/wl/sys/wl_linux.c
hybrid-v35_64-nodebug-pcoem-6_30_223_248/src/wl/sys/wl_linux.c
--- hybrid-v35_64-nodebug-pcoem-6_30_223_248.orig/src/wl/sys/wl_linux.c 2014-07-15
17:27:12.550312000 +0200
+++ hybrid-v35_64-nodebug-pcoem-6_30_223_248/src/wl/sys/wl_linux.c 2014-10-03
22:02:07.746840461 +0200
@@ -1313,7 +1313,12 @@
dev->priv = priv_link;
#else
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0)
dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
+#else
+ dev = alloc_netdev(sizeof(priv_link_t), intf_name, NET_NAME_UNKNOWN,
+ ether_setup);
+#endif
if (!dev) {
WL_ERROR(("wl%d: %s: alloc_netdev failed\n",
(wl->pub)?wl->pub->unit:wlif->subunit, __FUNCTION__));
Index: wl-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/devel/wl-kmod.spec,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- wl-kmod.spec 10 Sep 2014 17:58:39 -0000 1.86
+++ wl-kmod.spec 3 Oct 2014 20:52:52 -0000 1.87
@@ -7,7 +7,7 @@
Name: wl-kmod
Version: 6.30.223.248
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Kernel module for Broadcom wireless devices
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -21,6 +21,7 @@
Patch3: wl-kmod-004_kernel_3.15.patch
Patch4: wl-kmod-005_gcc_4.9.patch
Patch5: wl-kmod-006_kernel_3.16.patch
+Patch6: wl-kmod-007_kernel_3.17.patch
BuildRequires: %{_bindir}/kmodtool
@@ -65,6 +66,7 @@
%patch3 -p1 -b .kernel-3.15
%patch4 -p1 -b .gcc-4.9
%patch5 -p1 -b .kernel-3.16
+%patch6 -p1 -b .kernel-3.17
popd
for kernel_version in %{?kernel_versions} ; do
@@ -94,6 +96,9 @@
rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Oct 03 2014 Nicolas Viéville <nicolas.vieville(a)univ-valenciennes.fr> -
6.30.223.248-3
+- Added patch to build for kernel >= 3.17
+
* Wed Sep 10 2014 Nicolas Viéville <nicolas.vieville(a)univ-valenciennes.fr> -
6.30.223.248-2
- Added patch to build for kernel >= 3.16
Show replies by date