rpms/ndiswrapper-kmod/devel ndiswrapper-poll_controller.patch, NONE, 1.1 ndiswrapper-kmod.spec, 1.24, 1.25

Xavier Lamien laxathom at rpmfusion.org
Sun Apr 12 19:36:28 CEST 2009


Author: laxathom

Update of /cvs/free/rpms/ndiswrapper-kmod/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv6941

Modified Files:
	ndiswrapper-kmod.spec 
Added Files:
	ndiswrapper-poll_controller.patch 
Log Message:
Fix 2.6.29 poll_controller issue

ndiswrapper-poll_controller.patch:

--- NEW FILE ndiswrapper-poll_controller.patch ---
--- ndiswrapper-1.54/driver/wrapndis.c.false	2009-01-22 06:23:16.000000000 +0100
+++ ndiswrapper-1.54/driver/wrapndis.c	2009-04-12 19:26:47.000000000 +0200
@@ -1744,7 +1744,7 @@
 	.ndo_set_mac_address = ndis_set_mac_address,
 	.ndo_get_stats = ndis_get_stats,
 #ifdef CONFIG_NET_POLL_CONTROLLER
-	.poll_controller = ndis_poll_controller;
+	.ndo_poll_controller = ndis_poll_controller;
 #endif
 };
 #endif


Index: ndiswrapper-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/ndiswrapper-kmod/devel/ndiswrapper-kmod.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- ndiswrapper-kmod.spec	12 Apr 2009 16:38:09 -0000	1.24
+++ ndiswrapper-kmod.spec	12 Apr 2009 17:36:28 -0000	1.25
@@ -8,13 +8,14 @@
 Summary:	Ndiswrapper kernel module
 Name: 		ndiswrapper-kmod
 Version: 	1.54
-Release: 	3%{?dist}
+Release: 	4%{?dist}
 License: 	GPLv2
 Group: 		System Environment/Kernel
 URL:		http://ndiswrapper.sourceforge.net
 Source0: 	http://downloads.sf.net/ndiswrapper/ndiswrapper-%{version}.tar.gz
 Source11:       ndiswrapper-kmodtool-excludekernel-filterfile
 Patch0:         ndiswrapper-1.53-we_update.patch
+Patch1:         ndiswrapper-poll_controller.patch
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # needed for plague to make sure it builds for i586 and i686
@@ -44,9 +45,10 @@
 kmodtool  --target %{_target_cpu} --repo rpmfusion --kmodname %{name} --filterfile %{SOURCE11} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null
 # go
 %setup -q -c -T -a 0
-#(cd ndiswrapper-%{version} ; 
+(cd ndiswrapper-%{version} ; 
 #%patch0 -p2 -b .we_update
-#)
+%patch1 -p1 -b .poll_controller
+)
 sed -i 's|/sbin/depmod -a|/bin/true|' ndiswrapper-%{version}/driver/Makefile
 for kernel_version  in %{?kernel_versions} ; do
     cp -a ndiswrapper-%{version} _kmod_build_${kernel_version%%___*}
@@ -73,6 +75,9 @@
 
 
 %changelog
+* Sun Apr 23 2009 Xavier lamien <lxtnow at gmail.com> - 1.54.4
+- Fix pool_controller against kernel-2.6.29.
+
 * Sun Apr 23 2009 Xavier lamien <lxtnow at gmail.com> - 1.54.3
 - Disable iw-event drv patch (inclued by upstream).
 



More information about the rpmfusion-commits mailing list