[packages/rtl8812au] - fix building with kernel 4.11 - rel 14
baggins
baggins at pld-linux.org
Wed May 10 00:57:14 CEST 2017
commit 10d01763ae701933119fae69f0ab2bf46f20d87b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed May 10 00:56:50 2017 +0200
- fix building with kernel 4.11
- rel 14
linux-4.11.patch | 12 ++++++++++++
rtl8812au.spec | 4 +++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/rtl8812au.spec b/rtl8812au.spec
old mode 100755
new mode 100644
index 4950d7b..420946e
--- a/rtl8812au.spec
+++ b/rtl8812au.spec
@@ -4,7 +4,7 @@
# nothing to be placed to debuginfo package
%define _enable_debug_packages 0
-%define rel 13
+%define rel 14
%define snap 20140901
%define pname rtl8812au
Summary: Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter
@@ -33,6 +33,7 @@ Patch10: linux-4.3.patch
Patch11: linux-4.6.patch
Patch12: linux-4.7.patch
Patch13: linux-4.8.patch
+Patch14: linux-4.11.patch
BuildRequires: rpmbuild(macros) >= 1.701
%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2}
BuildRoot: %{tmpdir}/%{pname}-%{version}-root-%(id -u -n)
@@ -88,6 +89,7 @@ Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter\
%patch11 -p1
%patch12 -p1
%patch13 -p1
+%patch14 -p1
%build
%{expand:%build_kernel_packages}
diff --git a/linux-4.11.patch b/linux-4.11.patch
new file mode 100644
index 0000000..4f77368
--- /dev/null
+++ b/linux-4.11.patch
@@ -0,0 +1,12 @@
+--- rtl8812au_linux-master/include/osdep_service_linux.h~ 2014-07-21 15:06:45.000000000 +0200
++++ rtl8812au_linux-master/include/osdep_service_linux.h 2017-05-10 00:55:04.866491028 +0200
+@@ -46,6 +46,9 @@
+ #endif
+ #include <linux/sem.h>
+ #include <linux/sched.h>
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0))
++ #include <linux/sched/signal.h>
++#endif
+ #include <linux/etherdevice.h>
+ #include <linux/wireless.h>
+ #include <net/iw_handler.h>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rtl8812au.git/commitdiff/10d01763ae701933119fae69f0ab2bf46f20d87b
More information about the pld-cvs-commit
mailing list