]> git.pld-linux.org Git - packages/rtl8812au.git/commitdiff
- fix building with kernel 4.11 auto/th/rtl8812au-4.3.2_11100.20140411-0.20140901.14
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 9 May 2017 22:56:50 +0000 (00:56 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 9 May 2017 22:56:50 +0000 (00:56 +0200)
- rel 14

linux-4.11.patch [new file with mode: 0644]
rtl8812au.spec [changed mode: 0755->0644]

diff --git a/linux-4.11.patch b/linux-4.11.patch
new file mode 100644 (file)
index 0000000..4f77368
--- /dev/null
@@ -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>
old mode 100755 (executable)
new mode 100644 (file)
index 4950d7b..420946e
@@ -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}
This page took 0.136254 seconds and 4 git commands to generate.