broadcom-wl-dkms: patch for linux 6.12

Closes: #53660 [via git-merge-pr]
This commit is contained in:
Vincent Schweiger 2024-12-24 11:40:07 +01:00 committed by classabbyamp
parent b3200b5104
commit 088fe29b37
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,14 @@
--- a/src/wl/sys/wl_linux.c 2024-12-24 11:31:38.237305891 +0100
+++ b/src/wl/sys/wl_linux.c 2024-12-24 11:32:20.157335411 +0100
@@ -56,7 +56,11 @@
#include <asm/irq.h>
#include <asm/pgtable.h>
#include <asm/uaccess.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 12, 0)
+#include <linux/unaligned.h>
+#else
#include <asm/unaligned.h>
+#endif
#include <proto/802.1d.h>

View File

@ -1,7 +1,7 @@
# Template file for 'broadcom-wl-dkms'
pkgname=broadcom-wl-dkms
version=6.30.223.271
revision=15
revision=16
archs="i686* x86_64*"
create_wrksrc=yes
depends="dkms"