--- /dev/null
+--- rtl8812au_linux-master/core/rtw_debug.c~ 2014-07-21 15:06:45.000000000 +0200
++++ rtl8812au_linux-master/core/rtw_debug.c 2014-12-11 21:38:17.142784499 +0100
+@@ -62,8 +62,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
+ DBG_871X_SEL_NL(sel, "%s %s\n", DRV_NAME, DRIVERVERSION);
+ DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
++#pragma GCC diagnostic pop
++#endif
+ }
+
+ void dump_log_level(void *sel)
%define kpkg %(echo %{_build_kernels} | tr , '\\n' | while read n ; do echo %%undefine alt_kernel ; [ -z "$n" ] || echo %%define alt_kernel $n ; echo %%kernel_pkg ; done)
%define bkpkg %(echo %{_build_kernels} | tr , '\\n' | while read n ; do echo %%undefine alt_kernel ; [ -z "$n" ] || echo %%define alt_kernel $n ; echo %%build_kernel_pkg ; done)
-%define rel 3
+%define rel 4
%define snap 20140901
%define pname rtl8812au
Summary: Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter
Patch2: enable-cfg80211-support.patch
Patch3: update-cfg80211-support.patch
Patch4: warnings.patch
+Patch5: gcc-4.9.patch
BuildRequires: rpmbuild(macros) >= 1.678
%{?with_dist_kernel:%{expand:%kbrs}}
BuildRoot: %{tmpdir}/%{pname}-%{version}-root-%(id -u -n)
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%build
%{expand:%bkpkg}