[packages/rtl8812au] - rel 4, fix building with kernel 6.12.103
baggins
baggins at pld-linux.org
Tue Aug 11 10:15:13 CEST 2026
commit e1b94f0bee8a46d33a0bb44c7e69aec0493cc1fa
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Aug 11 10:14:49 2026 +0200
- rel 4, fix building with kernel 6.12.103
kernel-6.12.103.patch | 11 +++++++++++
rtl8812au.spec | 8 +++++---
2 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/rtl8812au.spec b/rtl8812au.spec
index 2550228..a36ea9c 100644
--- a/rtl8812au.spec
+++ b/rtl8812au.spec
@@ -5,7 +5,7 @@
# nothing to be placed to debuginfo package
%define _enable_debug_packages 0
-%define rel 3
+%define rel 4
%define basever 20210820
%define snap 20250614
%define pname rtl8812au
@@ -22,6 +22,7 @@ Source0: %{pname}-%{version}.tar.xz
# Source0-md5: bc1212b5a427bf7419a7838837ef4fb7
Patch0: no-arch-override.patch
Patch1: kernel-6.15.patch
+Patch2: kernel-6.12.103.patch
# good luck finding this chip on Realtek website :/
#URL: http://www.realtek.com.tw/
URL: https://github.com/morrownr/8812au-20210820
@@ -66,8 +67,9 @@ Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter\
%prep
%setup -q -n 8812au-%{basever}
-%patch -P 0 -p1
-%patch -P 1 -p1
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
%build
%{expand:%build_kernel_packages}
diff --git a/kernel-6.12.103.patch b/kernel-6.12.103.patch
new file mode 100644
index 0000000..10a78ef
--- /dev/null
+++ b/kernel-6.12.103.patch
@@ -0,0 +1,11 @@
+--- 8812au-20210820/os_dep/linux/ioctl_cfg80211.c~ 2025-06-14 16:30:21.000000000 +0200
++++ 8812au-20210820/os_dep/linux/ioctl_cfg80211.c 2026-08-11 10:11:41.895519400 +0200
+@@ -6903,7 +6903,7 @@
+ #endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)) */
+
+ static int cfg80211_rtw_set_monitor_channel(struct wiphy *wiphy
+-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 13, 0))
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 12, 103))
+ , struct net_device *dev
+ , struct cfg80211_chan_def *chandef
+ #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rtl8812au.git/commitdiff/e1b94f0bee8a46d33a0bb44c7e69aec0493cc1fa
More information about the pld-cvs-commit
mailing list