diff options
-rw-r--r-- | network/broadcom-wl/broadcom-wl.SlackBuild | 1 | ||||
-rw-r--r-- | network/broadcom-wl/patches/018-linux613.patch | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/network/broadcom-wl/broadcom-wl.SlackBuild b/network/broadcom-wl/broadcom-wl.SlackBuild index 5f4308f635..d48a73026a 100644 --- a/network/broadcom-wl/broadcom-wl.SlackBuild +++ b/network/broadcom-wl/broadcom-wl.SlackBuild @@ -102,6 +102,7 @@ patch -p1 < $CWD/patches/014-linux414.patch || exit 1 patch -p1 < $CWD/patches/015-linux600.patch || exit 1 patch -p1 < $CWD/patches/016-linux601.patch || exit 1 patch -p1 < $CWD/patches/017-linux612.patch || exit 1 +patch -p1 < $CWD/patches/018-linux613.patch || exit 1 # See https://lkml.org/lkml/2019/3/1/643 sed -i 's/get_ds()/KERNEL_DS/g' src/wl/sys/wl_iw.c diff --git a/network/broadcom-wl/patches/018-linux613.patch b/network/broadcom-wl/patches/018-linux613.patch new file mode 100644 index 0000000000..bb4c752289 --- /dev/null +++ b/network/broadcom-wl/patches/018-linux613.patch @@ -0,0 +1,32 @@ +From 5788a19e88aac78e6b2ec8bef7cb094fc14cfbf0 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= <joanbrugueram@gmail.com> +Date: Sat, 12 Oct 2024 11:54:40 +0000 +Subject: [PATCH] Tentative patch for broadcom-wl 6.30.223.271 driver for Linux + 6.13-rc1 + +The net/lib80211.h header has been removed by commit +"wifi: ipw2x00/lib80211: move remaining lib80211 into libipw" +(Johannes Berg, 7 Oct 2024). +The header does not appear to be actually used anywhere, so remove it. + + #include <asm/irq.h> + #include <asm/pgtable.h> +--- + src/include/linuxver.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/include/linuxver.h b/src/include/linuxver.h +index b05bc32..06e32eb 100644 +--- a/src/include/linuxver.h ++++ b/src/include/linuxver.h +@@ -147,7 +147,7 @@ typedef irqreturn_t(*FN_ISR) (int irq, void *dev_id, struct pt_regs *ptregs); + #include <linux/sched.h> + #endif + +-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29) && LINUX_VERSION_CODE < KERNEL_VERSION(6, 13, 0) + #include <net/lib80211.h> + #endif + #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29) +-- +2.47.0 |