[packages/rtl8812au] - fix building with linux 4.3 - rel 10

baggins baggins at pld-linux.org
Thu Nov 12 19:51:10 CET 2015


commit 80b26ae0cdc01def47fcdbeef7bf1ac3f7fcc4e5
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Nov 12 19:47:27 2015 +0100

    - fix building with linux 4.3
    - rel 10

 linux-4.3.patch | 20 ++++++++++++++++++++
 rtl8812au.spec  |  4 +++-
 2 files changed, 23 insertions(+), 1 deletion(-)
---
diff --git a/rtl8812au.spec b/rtl8812au.spec
index d5ceae4..03ab57e 100644
--- a/rtl8812au.spec
+++ b/rtl8812au.spec
@@ -4,7 +4,7 @@
 # nothing to be placed to debuginfo package
 %define		_enable_debug_packages	0
 
-%define		rel	9
+%define		rel	10
 %define		snap	20140901
 %define		pname	rtl8812au
 Summary:	Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter
@@ -29,6 +29,7 @@ Patch6:		linux-3.18.patch
 Patch7:		linux-4.0.patch
 Patch8:		linux-4.1.patch
 Patch9:		linux-4.2.patch
+Patch10:	linux-4.3.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)
@@ -80,6 +81,7 @@ Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter\
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
 
 %build
 %{expand:%build_kernel_packages}
diff --git a/linux-4.3.patch b/linux-4.3.patch
new file mode 100644
index 0000000..9976219
--- /dev/null
+++ b/linux-4.3.patch
@@ -0,0 +1,20 @@
+--- rtl8812au_linux-master/include/rtw_debug.h~	2014-07-21 15:06:45.000000000 +0200
++++ rtl8812au_linux-master/include/rtw_debug.h	2015-11-12 19:40:33.446227638 +0100
+@@ -227,7 +227,7 @@
+ 		if (sel == RTW_DBGDUMP)\
+ 			_DBG_871X_LEVEL(_drv_always_, fmt, ##arg); \
+ 		else {\
+-			if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
++			_seqdump(sel, fmt, ##arg) /*rtw_warn_on(1)*/; \
+ 		} \
+ 	}while(0)
+ 
+@@ -237,7 +237,7 @@
+ 		if (sel == RTW_DBGDUMP)\
+ 			DBG_871X_LEVEL(_drv_always_, fmt, ##arg); \
+ 		else {\
+-			if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
++			_seqdump(sel, fmt, ##arg) /*rtw_warn_on(1)*/; \
+ 		} \
+ 	}while(0)
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rtl8812au.git/commitdiff/80b26ae0cdc01def47fcdbeef7bf1ac3f7fcc4e5



More information about the pld-cvs-commit mailing list