Accepting request 1169177 from home:alarrosa:branches:openSUSE:Leap:15.6
- Add patch to fix build in Leap 15.6 whose 6.4 kernel includes backported features from 6.5: * fix-15.6.patch OBS-URL: https://build.opensuse.org/request/show/1169177 OBS-URL: https://build.opensuse.org/package/show/hardware/rtl8812au?expand=0&rev=58
This commit is contained in:
parent
14b12aca37
commit
d260e6b73d
13
fix-15.6.patch
Normal file
13
fix-15.6.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: 8812au-20210629/os_dep/linux/ioctl_cfg80211.c
|
||||||
|
===================================================================
|
||||||
|
--- 8812au-20210629.orig/os_dep/linux/ioctl_cfg80211.c
|
||||||
|
+++ 8812au-20210629/os_dep/linux/ioctl_cfg80211.c
|
||||||
|
@@ -8458,7 +8458,7 @@ static int cfg80211_rtw_tdls_mgmt(struct
|
||||||
|
#else
|
||||||
|
u8 *peer,
|
||||||
|
#endif
|
||||||
|
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 5, 0))
|
||||||
|
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0))
|
||||||
|
int link_id,
|
||||||
|
#endif
|
||||||
|
u8 action_code,
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 19 12:34:20 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
|
||||||
|
|
||||||
|
- Add patch to fix build in Leap 15.6 whose 6.4 kernel includes
|
||||||
|
backported features from 6.5:
|
||||||
|
* fix-15.6.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 24 20:56:47 UTC 2024 - Konstantin Voinov <kv@kott.no-ip.biz>
|
Sun Mar 24 20:56:47 UTC 2024 - Konstantin Voinov <kv@kott.no-ip.biz>
|
||||||
|
|
||||||
|
@ -33,6 +33,8 @@ Source2: LICENSE
|
|||||||
Patch0: fix-backported-ndo_select_queue.patch
|
Patch0: fix-backported-ndo_select_queue.patch
|
||||||
# PATCH-FIX-OPENSUSE fix-backported-update_mgmt_frame_registrations.patch
|
# PATCH-FIX-OPENSUSE fix-backported-update_mgmt_frame_registrations.patch
|
||||||
Patch1: fix-backported-update_mgmt_frame_registrations.patch
|
Patch1: fix-backported-update_mgmt_frame_registrations.patch
|
||||||
|
# PATCH-FIX-OPENSUSE fix-15.6.patch
|
||||||
|
Patch2: fix-15.6.patch
|
||||||
BuildRequires: %{kernel_module_package_buildreqs}
|
BuildRequires: %{kernel_module_package_buildreqs}
|
||||||
BuildRequires: bc
|
BuildRequires: bc
|
||||||
BuildRequires: binutils
|
BuildRequires: binutils
|
||||||
@ -74,6 +76,10 @@ https://github.com/maurossi/rtl8812au/ .
|
|||||||
%patch -P 1 -p1
|
%patch -P 1 -p1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?sle_version} == 150600
|
||||||
|
%patch -P 2 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
set -- *
|
set -- *
|
||||||
mkdir source
|
mkdir source
|
||||||
mv "$@" source/
|
mv "$@" source/
|
||||||
|
Loading…
Reference in New Issue
Block a user