]> git.pld-linux.org Git - packages/wl.git/blobdiff - gcc-4.9.patch
- fix building with kernel 5.10
[packages/wl.git] / gcc-4.9.patch
index d50535551d5834ce10b2e3e4a211bc4c38da72aa..d085f866a20d7685caa2afbdf4c1c627945da7ba 100644 (file)
@@ -4,12 +4,12 @@
                WL_ALL_PASSIVE_ENAB(wl) ?  ", Passive Mode" : "", EPI_VERSION_STR);
  
  #ifdef BCMDBG
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
++#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, 15, 0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
 +#pragma GCC diagnostic pop
 +#endif
  #endif 
  void
  wl_dump_ver(wl_info_t *wl, struct bcmstrbuf *b)
  {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
++#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, 15, 0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
 +#pragma GCC diagnostic pop
 +#endif
  }
This page took 0.068165 seconds and 4 git commands to generate.