]> git.pld-linux.org Git - packages/rtl8812au.git/blob - gcc-4.9.patch
- updated to 5.2.20_25672.20171213, works with kernel 4.15
[packages/rtl8812au.git] / gcc-4.9.patch
1 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
2 --- rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_debug.c      2016-08-30 04:28:15.000000000 +0200
3 +++ rtl8812AU_linux_v5.1.5_19247.20160830-gcc/core/rtw_debug.c  2017-10-10 21:57:47.919763413 +0200
4 @@ -46,8 +46,15 @@
5  
6  void dump_drv_version(void *sel)
7  {
8 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
9 +#pragma GCC diagnostic push
10 +#pragma GCC diagnostic ignored "-Wdate-time"
11 +#endif
12         RTW_PRINT_SEL(sel, "%s %s\n", DRV_NAME, DRIVERVERSION);
13         RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
14 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
15 +#pragma GCC diagnostic pop
16 +#endif
17  }
18  
19  void dump_drv_cfg(void *sel)
This page took 0.064919 seconds and 3 git commands to generate.