Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] rtl8822bu-dkms: update to 20221030.
Date: Wed, 02 Nov 2022 22:09:55 +0100	[thread overview]
Message-ID: <20221102210955.KKEj0e-cfMHFtPZ8tA39LO9_oZGhPbm4d_-Ll_yDxEY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40236@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages fix/rtl8822bu-dkms-build
https://github.com/void-linux/void-packages/pull/40236

rtl8822bu-dkms: update to 20221030.
switch upstream (current one is archived), fixes build on newer kernels

fixes #40234

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly** (don't have the hardware, but the dkms module builds)



A patch file from https://github.com/void-linux/void-packages/pull/40236.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fix/rtl8822bu-dkms-build-40236.patch --]
[-- Type: text/x-diff, Size: 3014 bytes --]

From 9ec742e51de7cabd11c569dc1cb509f5cb0f7558 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 30 Oct 2022 14:54:49 -0400
Subject: [PATCH] rtl8822bu-dkms: update to 20221030.

switch upstream (current one is archived), fixes build on newer kernels

fixes #40234
---
 .../0001-void-arch-generic-plumbing-bits.patch     | 12 ++++++------
 srcpkgs/rtl8822bu-dkms/template                    | 14 +++++++-------
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/rtl8822bu-dkms/patches/0001-void-arch-generic-plumbing-bits.patch b/srcpkgs/rtl8822bu-dkms/patches/0001-void-arch-generic-plumbing-bits.patch
index 5d11ea074fd7..afa05a1580b3 100644
--- a/srcpkgs/rtl8822bu-dkms/patches/0001-void-arch-generic-plumbing-bits.patch
+++ b/srcpkgs/rtl8822bu-dkms/patches/0001-void-arch-generic-plumbing-bits.patch
@@ -11,17 +11,17 @@ diff --git Makefile Makefile
 index 29da0bf..d58bc95 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -97,7 +97,8 @@ CONFIG_RTW_SDIO_PM_KEEP_POWER = y
+@@ -120,7 +120,8 @@ CONFIG_RTW_SDIO_PM_KEEP_POWER = y
  ###################### MP HW TX MODE FOR VHT #######################
  CONFIG_MP_VHT_HW_TX_MODE = n
  ###################### Platform Related #######################
 -CONFIG_PLATFORM_I386_PC = y
 +CONFIG_PLATFORM_VOID_NATIVE = y
 +CONFIG_PLATFORM_I386_PC = n
- CONFIG_PLATFORM_ARM_RPI = n
  CONFIG_PLATFORM_ANDROID_X86 = n
  CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
-@@ -1030,6 +1031,17 @@ endif
+ CONFIG_PLATFORM_JB_X86 = n
+@@ -1289,6 +1289,17 @@ endif
  
  EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04
  
@@ -36,9 +36,9 @@ index 29da0bf..d58bc95 100644
 +STAGINGMODDIR := /usr/lib/modules/$(KVER)/kernel/drivers/staging
 +endif
 +
- ifeq ($(CONFIG_PLATFORM_I386_PC), y)
- EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
- EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
+ ifeq ($(CONFIG_RTW_VHT_2G4), y)
+ EXTRA_CFLAGS += -DRTW_VHT_2G4=1
+ else
 -- 
 2.29.2
 
diff --git a/srcpkgs/rtl8822bu-dkms/template b/srcpkgs/rtl8822bu-dkms/template
index 61b92f58464d..4c00b8e74688 100644
--- a/srcpkgs/rtl8822bu-dkms/template
+++ b/srcpkgs/rtl8822bu-dkms/template
@@ -1,16 +1,16 @@
 # Template file for 'rtl8822bu-dkms'
 pkgname=rtl8822bu-dkms
-version=20201222
-revision=2
-_gitrev=fcfd4ecca1512d4cd2db4aa91679576d2a5ab8eb
-wrksrc="rtl8822bu-${_gitrev}"
-depends="dkms"
+version=20221030
+revision=1
+_gitrev=f77c4e55cc1852b9f6e5aec416a34abcdabcd825
+wrksrc="rtl88x2bu-${_gitrev}"
+depends="dkms bc"
 short_desc="Realtek 8822BU USB WiFi driver (DKMS)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
 homepage="https://www.tp-link.com"
-distfiles="https://github.com/EntropicEffect/rtl8822bu/archive/${_gitrev}.tar.gz"
-checksum=fb2dbcd0385d558af6c74571aaac9020d7cbb9e56cc4780299bd420559f29bb1
+distfiles="https://github.com/cilynx/rtl88x2bu/archive/${_gitrev}.tar.gz"
+checksum=d1ed87d40cb47c1ac011a9e57aba84d8efecead84f0ddab4ea2847281c2749ca
 dkms_modules="88x2bu ${version}"
 
 case "$XBPS_TARGET_MACHINE" in

  parent reply	other threads:[~2022-11-02 21:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-30 18:56 [PR PATCH] " classabbyamp
2022-11-02 20:54 ` TrueTechie
2022-11-02 21:09 ` classabbyamp [this message]
2022-11-02 21:11 ` [PR PATCH] [Updated] " classabbyamp
2022-11-02 21:13 ` [PR PATCH] [Merged]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221102210955.KKEj0e-cfMHFtPZ8tA39LO9_oZGhPbm4d_-Ll_yDxEY@z \
    --to=classabbyamp@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).