]> git.pld-linux.org Git - packages/rtl8812au.git/blame - gcc-4.9.patch
- start fixing build with linux 4.12
[packages/rtl8812au.git] / gcc-4.9.patch
CommitLineData
c2800a01
JR
1--- rtl8812au_linux-master/core/rtw_debug.c~ 2014-07-21 15:06:45.000000000 +0200
2+++ rtl8812au_linux-master/core/rtw_debug.c 2014-12-11 21:38:17.142784499 +0100
3@@ -62,8 +62,15 @@
4
5 void dump_drv_version(void *sel)
6 {
7+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
8+#pragma GCC diagnostic push
9+#pragma GCC diagnostic ignored "-Wdate-time"
10+#endif
11 DBG_871X_SEL_NL(sel, "%s %s\n", DRV_NAME, DRIVERVERSION);
12 DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);
13+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
14+#pragma GCC diagnostic pop
15+#endif
16 }
17
18 void dump_log_level(void *sel)
This page took 0.087194 seconds and 4 git commands to generate.