]> git.pld-linux.org Git - packages/vpb-driver.git/commitdiff
- fix building with kernel 4.14 auto/th/vpb-driver-4.2.58-4
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 18 Nov 2017 08:59:39 +0000 (09:59 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 18 Nov 2017 08:59:39 +0000 (09:59 +0100)
- rel 4

kernel-4.14.patch [new file with mode: 0644]
vpb-driver.spec

diff --git a/kernel-4.14.patch b/kernel-4.14.patch
new file mode 100644 (file)
index 0000000..8bc504b
--- /dev/null
@@ -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"
index 8dae74d6d7052d2096379e1c8a2305a2861242f9..78ca587edccc958a71e4eceba63afce5095952e8 100644 (file)
@@ -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
This page took 0.202514 seconds and 4 git commands to generate.