From 643e264a7bee5d5e5715b748df6ef77b18c90aeb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sat, 27 Oct 2018 14:42:28 +0200 Subject: [PATCH] - up to 5.2.20.2 --- gcc-4.9.patch | 19 ------------------- rtl8812au.spec | 8 +++----- 2 files changed, 3 insertions(+), 24 deletions(-) delete mode 100644 gcc-4.9.patch diff --git a/gcc-4.9.patch b/gcc-4.9.patch deleted file mode 100644 index f2eb93b..0000000 --- a/gcc-4.9.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -ur -x '*~' rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_debug.c rtl8812AU_linux_v5.1.5_19247.20160830-gcc/core/rtw_debug.c ---- rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_debug.c 2016-08-30 04:28:15.000000000 +0200 -+++ rtl8812AU_linux_v5.1.5_19247.20160830-gcc/core/rtw_debug.c 2017-10-10 21:57:47.919763413 +0200 -@@ -46,8 +46,15 @@ - - void dump_drv_version(void *sel) - { -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) -+#pragma GCC diagnostic push -+#pragma GCC diagnostic ignored "-Wdate-time" -+#endif - RTW_PRINT_SEL(sel, "%s %s\n", DRV_NAME, DRIVERVERSION); - RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__); -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) -+#pragma GCC diagnostic pop -+#endif - } - - void dump_drv_cfg(void *sel) diff --git a/rtl8812au.spec b/rtl8812au.spec index 7456901..03408f4 100644 --- a/rtl8812au.spec +++ b/rtl8812au.spec @@ -6,20 +6,19 @@ %define _enable_debug_packages 0 %define rel 1 -%define snap 20180131 +%define snap 20181027 %define pname rtl8812au Summary: Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter Name: %{pname}%{_alt_kernel} -Version: 5.2.20_25672.20171213 +Version: 5.2.20.2 Release: 0.%{snap}.%{rel}%{?_pld_builder:@%{_kernel_ver_str}} License: GPL Group: Base/Kernel Source0: https://github.com/gordboy/rtl8812au/archive/master/%{pname}-%{version}-%{snap}.tar.gz -# Source0-md5: 5fc6e00f86ce93feabf3fd3655207e12 +# Source0-md5: d3fcc55f509e0b7dc005e9ead6ca888a # good luck finding this chip on Realtek website :/ #URL: http://www.realtek.com.tw/ URL: https://github.com/gordboy/rtl8812au -Patch0: gcc-4.9.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) @@ -61,7 +60,6 @@ Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter\ %prep %setup -q -n %{pname}-master -%patch0 -p1 %build %{expand:%build_kernel_packages} -- 2.44.0