Hello community,

here is the log from the commit of package rtl8812au for openSUSE:Factory 
checked in at 2019-02-02 21:49:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rtl8812au (Old)
 and      /work/SRC/openSUSE:Factory/.rtl8812au.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rtl8812au"

Sat Feb  2 21:49:58 2019 rev:5 rq:670546 version:5.2.20.2+git20190117.edcd447

Changes:
--------
--- /work/SRC/openSUSE:Factory/rtl8812au/rtl8812au.changes      2019-01-24 
14:15:09.299241840 +0100
+++ /work/SRC/openSUSE:Factory/.rtl8812au.new.28833/rtl8812au.changes   
2019-02-02 21:50:02.243939854 +0100
@@ -1,0 +2,6 @@
+Wed Jan 30 13:25:18 UTC 2019 - alarr...@suse.com
+
+- Add fix-backported-ndo_select_queue.patch to fix building with
+  SLE-15-SP1's 4.12 kernel with backported features from 4.19.
+
+-------------------------------------------------------------------

New:
----
  fix-backported-ndo_select_queue.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rtl8812au.spec ++++++
--- /var/tmp/diff_new_pack.pDSLNk/_old  2019-02-02 21:50:02.959939233 +0100
+++ /var/tmp/diff_new_pack.pDSLNk/_new  2019-02-02 21:50:02.959939233 +0100
@@ -26,6 +26,8 @@
 Source0:        %{name}-%{version}.tar.xz
 Source1:        %{name}-preamble
 Source2:        LICENSE
+# PATCH-FIX-OPENSUSE fix-backported-ndo_select_queue.patch
+Patch0:         fix-backported-ndo_select_queue.patch
 BuildRequires:  %{kernel_module_package_buildreqs}
 BuildRequires:  bc
 BuildRequires:  binutils
@@ -59,6 +61,9 @@
 
 %prep
 %setup -q
+%if 0%{?sle_version} >= 150100
+%patch0 -p1
+%endif
 
 set -- *
 mkdir source

++++++ fix-backported-ndo_select_queue.patch ++++++
From: Antonio Larrosa <alarr...@suse.com>
Subject: Fix build with SLE 15-SP1 / Leap 15.1

The net_device.ndo_select_queue signature in SLE-15-SP1's 4.12 kernel
was backported from kernel 4.19 so we must actually support it from 4.12

Index: rtl8812au-5.2.20.2/os_dep/linux/os_intfs.c
===================================================================
--- rtl8812au-5.2.20.2.orig/os_dep/linux/os_intfs.c
+++ rtl8812au-5.2.20.2/os_dep/linux/os_intfs.c
@@ -1281,7 +1281,7 @@ unsigned int rtw_classify8021d(struct sk
 
 static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0)
-  #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 0)
+  #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
          , void *accel_priv
   #else
     , struct net_device *sb_dev

Reply via email to