-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgcc-4.9.patch
33 lines (30 loc) · 1019 Bytes
/
gcc-4.9.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- wl-6.30.223.248/src/wl/sys/wl_linux.c~ 2014-12-11 21:16:46.000000000 +0100
+++ wl-6.30.223.248/src/wl/sys/wl_linux.c 2014-12-11 21:31:47.006131594 +0100
@@ -722,7 +722,14 @@
WL_ALL_PASSIVE_ENAB(wl) ? ", Passive Mode" : "", EPI_VERSION_STR);
#ifdef BCMDBG
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdate-time"
+#endif
printf(" (Compiled in " SRCBASE " at " __TIME__ " on " __DATE__ ")");
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
+#pragma GCC diagnostic pop
+#endif
#endif
printf("\n");
@@ -2049,8 +2056,15 @@
void
wl_dump_ver(wl_info_t *wl, struct bcmstrbuf *b)
{
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdate-time"
+#endif
bcm_bprintf(b, "wl%d: %s %s version %s\n", wl->pub->unit,
__DATE__, __TIME__, EPI_VERSION_STR);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
+#pragma GCC diagnostic pop
+#endif
}
#if defined(BCMDBG)