rpms/ndiswrapper-kmod/devel Support-kernel-4.2.patch, NONE, 1.1 ndiswrapper-kmod.spec, 1.100, 1.101

Leigh Scott leigh123linux at rpmfusion.org
Fri Sep 4 14:54:24 CEST 2015


Author: leigh123linux

Update of /cvs/free/rpms/ndiswrapper-kmod/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv11055

Modified Files:
	ndiswrapper-kmod.spec 
Added Files:
	Support-kernel-4.2.patch 
Log Message:
* Fri Sep 04 2015 Leigh Scott <leigh123linux at googlemail.com> - 1.59-9
- patch for 4.2 kernel


Support-kernel-4.2.patch:
 ntoskernel.h |    3 +++
 1 file changed, 3 insertions(+)

--- NEW FILE Support-kernel-4.2.patch ---
From: Tim Gardner <tim.gardner at canonical.com>
Date: Thu, 6 Aug 2015 09:13:30 -0600
Subject: Support kernel 4.2

---
 driver/ntoskernel.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/driver/ntoskernel.h b/driver/ntoskernel.h
index 4b8166c..6b49594 100644
--- a/driver/ntoskernel.h
+++ b/driver/ntoskernel.h
@@ -46,6 +46,9 @@
 #include <linux/percpu.h>
 #include <linux/kthread.h>
 #include <linux/workqueue.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0)
+#include <linux/vmalloc.h>
+#endif
 
 #if !defined(CONFIG_X86) && !defined(CONFIG_X86_64)
 #error "this module is for x86 or x86_64 architectures only"


Index: ndiswrapper-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/ndiswrapper-kmod/devel/ndiswrapper-kmod.spec,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- ndiswrapper-kmod.spec	21 Aug 2015 14:20:57 -0000	1.100
+++ ndiswrapper-kmod.spec	4 Sep 2015 12:54:23 -0000	1.101
@@ -3,14 +3,14 @@
 # "buildforkernels newest" macro for just that build; immediately after
 # queuing that build enable the macro again for subsequent builds; that way
 # a new akmod package will only get build when a new one is actually needed
-%global buildforkernels newest
+%global buildforkernels current
 
 #global pre rc1
 
 Summary:	Ndiswrapper kernel module
 Name: 		ndiswrapper-kmod
 Version: 	1.59
-Release: 	8%{?pre}%{?dist}.10
+Release: 	9%{?pre}%{?dist}
 License: 	GPLv2
 Group: 		System Environment/Kernel
 URL:		http://ndiswrapper.sourceforge.net
@@ -19,6 +19,7 @@
 Patch0:		ndiswrapper-kmod-nomodinfo.patch
 Patch1:         kernel-3.14.patch
 Patch2:         Support-kernel-4.0.patch
+Patch3:         Support-kernel-4.2.patch
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # needed for plague to make sure it builds for i586 and i686
@@ -52,6 +53,7 @@
 %patch0 -p1 -b .orig
 %patch1 -p1 -b .314
 %patch2 -p1 -b .400
+%patch3 -p1 -b .420
 )
 sed -i 's|/sbin/depmod -a|/bin/true|' ndiswrapper-%{version}%{?pre}/driver/Makefile
 for kernel_version  in %{?kernel_versions} ; do
@@ -79,6 +81,9 @@
 
 
 %changelog
+* Fri Sep 04 2015 Leigh Scott <leigh123linux at googlemail.com> - 1.59-9
+- patch for 4.2 kernel
+
 * Fri Aug 21 2015 Nicolas Chauvet <kwizart at gmail.com> - 1.59-8.10
 - Rebuilt for kernel
 


More information about the rpmfusion-commits mailing list