mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-07 04:12:18 +00:00
10abb8b734
* Add: broadcom-wl and wl-kmod * Fix: Built kmods without RPM Fusion deps fixed BuildRequires because actually why was it done that way * Cleanup: Removed EOL Fedora and RHEL versions from specs * Cleanup/security: Fixed more spec stuff for EOL Fedora/EL versions, removed a legacy file that if changed could result in an unbootable kernel * Fix: Use Mock Co-authored-by: madomado <madonuko@outlook.com> Signed-off-by: Gil <rockgrub@protonmail.com> * Cleanup: More removal of EOL conditions Signed-off-by: Gil <rockgrub@protonmail.com> * Cleanup: Typo Signed-off-by: Gil <rockgrub@protonmail.com> * Cleanup/security: Removed a patch related to a previously removed file that could result in an unbootable kernel --------- Signed-off-by: Gil <rockgrub@protonmail.com> Co-authored-by: madomado <madonuko@outlook.com>
31 lines
1.3 KiB
Diff
31 lines
1.3 KiB
Diff
diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_cfg80211_hybrid.c hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c
|
|
--- hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_cfg80211_hybrid.c 2017-07-03 11:32:04.271398000 +0200
|
|
+++ hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_cfg80211_hybrid.c 2019-04-14 17:35:23.565460847 +0200
|
|
@@ -490,7 +490,11 @@
|
|
ifr.ifr_data = (caddr_t)&ioc;
|
|
|
|
fs = get_fs();
|
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0)
|
|
+ set_fs(KERNEL_DS);
|
|
+#else
|
|
set_fs(get_ds());
|
|
+#endif
|
|
#if defined(WL_USE_NETDEV_OPS)
|
|
err = dev->netdev_ops->ndo_do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
|
|
#else
|
|
diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_iw.c hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_iw.c
|
|
--- hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_iw.c 2017-06-03 15:26:57.095475000 +0200
|
|
+++ hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_iw.c 2019-05-30 01:29:32.766280636 +0200
|
|
@@ -117,7 +117,11 @@
|
|
ifr.ifr_data = (caddr_t) &ioc;
|
|
|
|
fs = get_fs();
|
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0)
|
|
+ set_fs(KERNEL_DS);
|
|
+#else
|
|
set_fs(get_ds());
|
|
+#endif
|
|
#if defined(WL_USE_NETDEV_OPS)
|
|
ret = dev->netdev_ops->ndo_do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
|
|
#else
|