- up to 5.9.3.2 auto/th/rtl8812au-5.9.3.2.20201218-1
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 18 Dec 2020 20:59:32 +0000 (21:59 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 18 Dec 2020 20:59:32 +0000 (21:59 +0100)
designated_init.patch [new file with mode: 0644]
rtl8812au.spec

diff --git a/designated_init.patch b/designated_init.patch
new file mode 100644 (file)
index 0000000..a56d8b3
--- /dev/null
@@ -0,0 +1,11 @@
+--- rtl8812au-5.9.3.2-main/include/rtw_mlme_ext.h.orig 2020-12-14 10:07:30.000000000 +0100
++++ rtl8812au-5.9.3.2-main/include/rtw_mlme_ext.h      2020-12-18 21:56:18.623093439 +0100
+@@ -1124,7 +1124,7 @@
+ int rtw_sae_preprocess(_adapter *adapter, const u8 *buf, u32 len, u8 tx);
+-#define GEN_MLME_EXT_HANDLER(cmd, callback)   {cmd, callback},
++#define GEN_MLME_EXT_HANDLER(cmd, cback)      {.cmd_hdl = cmd, .callback = cback},
+ struct rtw_cmd {
+       u8(*cmd_hdl)(_adapter *padapter, u8 *pbuf);
index 6d5b75b8f8ccfa844843bb51b546a9e1d9cb87dc..51d93e7e27a6c2af0c506c23fafda800de1a1e5d 100644 (file)
@@ -5,9 +5,9 @@
 # nothing to be placed to debuginfo package
 %define                _enable_debug_packages  0
 
-%define                rel     3
-%define                basever 5.6.4.2
-%define                snap    20200815
+%define                rel     1
+%define                basever 5.9.3.2
+%define                snap    20201218
 %define                pname   rtl8812au
 Summary:       Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter
 Name:          %{pname}%{_alt_kernel}
@@ -16,11 +16,12 @@ Epoch:              2
 Release:       %{rel}%{?_pld_builder:@%{_kernel_ver_str}}
 License:       GPL
 Group:         Base/Kernel
-Source0:       https://github.com/gordboy/rtl8812au-5.6.4.2/archive/master/%{pname}-%{basever}-%{snap}.tar.gz
-# Source0-md5: 35b19b616bebf46fb6f7f27e3e6d1cb0
+Source0:       https://github.com/gordboy/%{pname}-%{basever}/archive/main/%{pname}-%{basever}-%{snap}.tar.gz
+# Source0-md5: b2516283a54880feaec4f3142223d614
+Patch0:                designated_init.patch
 # good luck finding this chip on Realtek website :/
 #URL:          http://www.realtek.com.tw/
-URL:           https://github.com/gordboy/rtl8812au-5.6.4.2
+URL:           https://github.com/gordboy/rtl8812au-5.9.3.2
 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)
@@ -42,7 +43,7 @@ Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter\
 \
 %files -n kernel%{_alt_kernel}-net-rtl8812au\
 %defattr(644,root,root,755)\
-%doc Realtek_Changelog.txt README.md\
+%doc README.md\
 /lib/modules/%{_kernel_ver}/kernel/drivers/net/wireless/*.ko*\
 \
 %post  -n kernel%{_alt_kernel}-net-rtl8812au\
@@ -61,7 +62,8 @@ Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter\
 %{expand:%create_kernel_packages}
 
 %prep
-%setup -q -n %{pname}-%{basever}-master
+%setup -q -n %{pname}-%{basever}-main
+%patch0 -p1
 
 %build
 %{expand:%build_kernel_packages}
This page took 0.097785 seconds and 4 git commands to generate.