]> git.pld-linux.org Git - packages/wl.git/blame - gcc-4.9.patch
- that's binary driver, no version for x32
[packages/wl.git] / gcc-4.9.patch
CommitLineData
1f723013
JR
1--- wl-6.30.223.248/src/wl/sys/wl_linux.c~ 2014-12-11 21:16:46.000000000 +0100
2+++ wl-6.30.223.248/src/wl/sys/wl_linux.c 2014-12-11 21:31:47.006131594 +0100
3@@ -722,7 +722,14 @@
4 WL_ALL_PASSIVE_ENAB(wl) ? ", Passive Mode" : "", EPI_VERSION_STR);
5
6 #ifdef BCMDBG
96ba8ab0 7+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
1f723013
JR
8+#pragma GCC diagnostic push
9+#pragma GCC diagnostic ignored "-Wdate-time"
10+#endif
11 printf(" (Compiled in " SRCBASE " at " __TIME__ " on " __DATE__ ")");
96ba8ab0 12+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
1f723013
JR
13+#pragma GCC diagnostic pop
14+#endif
15 #endif
16 printf("\n");
17
18@@ -2049,8 +2056,15 @@
19 void
20 wl_dump_ver(wl_info_t *wl, struct bcmstrbuf *b)
21 {
96ba8ab0 22+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
1f723013
JR
23+#pragma GCC diagnostic push
24+#pragma GCC diagnostic ignored "-Wdate-time"
25+#endif
26 bcm_bprintf(b, "wl%d: %s %s version %s\n", wl->pub->unit,
27 __DATE__, __TIME__, EPI_VERSION_STR);
96ba8ab0 28+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
1f723013
JR
29+#pragma GCC diagnostic pop
30+#endif
31 }
32
33 #if defined(BCMDBG)
This page took 0.126652 seconds and 4 git commands to generate.