[packages/vpb-driver] - fix building with kernel 4.14 - rel 4

baggins baggins at pld-linux.org
Sat Nov 18 09:59:59 CET 2017


commit f8218dd9e8ff396508676f4f457f3fafcd74fd4e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Nov 18 09:59:39 2017 +0100

    - fix building with kernel 4.14
    - rel 4

 kernel-4.14.patch | 10 ++++++++++
 vpb-driver.spec   |  4 +++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/vpb-driver.spec b/vpb-driver.spec
index 8dae74d..78ca587 100644
--- a/vpb-driver.spec
+++ b/vpb-driver.spec
@@ -21,7 +21,7 @@ exit 1
 
 %define		_duplicate_files_terminate_build	0
 
-%define		rel	3
+%define		rel	4
 %define		pname	vpb-driver
 Summary:	Voicetronix voice processing board (VPB) driver software
 Summary(pl.UTF-8):	Oprogramowanie sterowników dla kart przetwarzających głos (VPB) Voicetronix
@@ -35,6 +35,7 @@ Source0:	http://www.voicetronix.com.au/Downloads/vpb-driver-4.x/%{pname}-%{versi
 Patch0:		%{pname}-make.patch
 Patch1:		userspace-only.patch
 Patch2:		linux-4.12.patch
+Patch3:		kernel-4.14.patch
 URL:		http://www.voicetronix.com.au/downloads.htm#linux
 BuildRequires:	rpmbuild(macros) >= 1.701
 %{?with_kernel:%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2}}
@@ -143,6 +144,7 @@ p=`pwd`\
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %if %{without kernel}
 %{__sed} -i -e 's,subdirs += $(srcdir)/vtcore $(srcdir)/vpb,,' src/Makefile.in
diff --git a/kernel-4.14.patch b/kernel-4.14.patch
new file mode 100644
index 0000000..8bc504b
--- /dev/null
+++ b/kernel-4.14.patch
@@ -0,0 +1,10 @@
+--- vpb-driver-4.2.58/src/vpb/vpb.c~	2017-11-18 09:57:20.000000000 +0100
++++ vpb-driver-4.2.58/src/vpb/vpb.c	2017-11-18 09:58:55.413610452 +0100
+@@ -109,6 +109,7 @@
+ #include <linux/errno.h>
+ #include <linux/mm.h>
+ #include <linux/fs.h>
++#include <linux/sched.h>
+ #include "vpb_ioctl.h"
+ //#include "iic.h"		// s/w IIC emulation
+ #include "iic.c"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vpb-driver.git/commitdiff/f8218dd9e8ff396508676f4f457f3fafcd74fd4e



More information about the pld-cvs-commit mailing list