[packages/rtl8812au] - rel 6, fix building with 6.1.189

baggins baggins at pld-linux.org
Mon Oct 12 01:11:42 CEST 2026


commit d14c355bd32bfd53a74401ff62799ac1e0b418d8
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Oct 12 01:11:21 2026 +0200

    - rel 6, fix building with 6.1.189

 kernel-6.1.189.patch | 11 +++++++++++
 rtl8812au.spec       |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/rtl8812au.spec b/rtl8812au.spec
index b2eacfd..b553d27 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	5
+%define		rel	6
 %define		basever	20210820
 %define		snap	20250614
 %define		pname	rtl8812au
@@ -24,6 +24,7 @@ Patch0:		no-arch-override.patch
 Patch1:		kernel-6.15.patch
 Patch2:		kernel-6.12.103.patch
 Patch3:		drvwrap.patch
+Patch4:		kernel-6.1.189.patch
 # good luck finding this chip on Realtek website :/
 #URL:		http://www.realtek.com.tw/
 URL:		https://github.com/morrownr/8812au-20210820
@@ -72,6 +73,7 @@ Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter\
 %patch -P1 -p1
 %patch -P2 -p1
 %patch -P3 -p1
+%patch -P4 -p1
 
 %build
 %{expand:%build_kernel_packages}
diff --git a/kernel-6.1.189.patch b/kernel-6.1.189.patch
new file mode 100644
index 0000000..bd52212
--- /dev/null
+++ b/kernel-6.1.189.patch
@@ -0,0 +1,11 @@
+--- 8812au-20210820/os_dep/linux/ioctl_cfg80211.c~	2026-10-12 00:19:39.000000000 +0200
++++ 8812au-20210820/os_dep/linux/ioctl_cfg80211.c	2026-10-12 00:22:45.367989081 +0200
+@@ -8461,7 +8461,7 @@
+ #else
+ 	u8 *peer,
+ #endif
+-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 5, 0))
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 189))
+ 	int link_id,
+ #endif
+ 	u8 action_code,
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rtl8812au.git/commitdiff/d14c355bd32bfd53a74401ff62799ac1e0b418d8



More information about the pld-cvs-commit mailing list