Github messages for voidlinux
 help / color / mirror / Atom feed
From: deepcube <deepcube@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] broadcom-wl-dkms: add linux-5.9.patch
Date: Wed, 16 Dec 2020 19:54:06 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27202@inbox.vuxu.org> (raw)

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

There is a new pull request by deepcube against master on the void-packages repository

https://github.com/deepcube/void-packages emg-broadcom-wl-dkms-linux-5.9
https://github.com/void-linux/void-packages/pull/27202

broadcom-wl-dkms: add linux-5.9.patch
Linux 5.9 broke broadcom-wl-dkms.  Add patch[0] from archlinux package
to fix.

[0] https://raw.githubusercontent.com/archlinux/svntogit-community/packages/broadcom-wl-dkms/trunk/011-linux59.patch

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-emg-broadcom-wl-dkms-linux-5.9-27202.patch --]
[-- Type: text/x-diff, Size: 2518 bytes --]

From 59cad5c56b756243d912ba62701f1abb9f97753d Mon Sep 17 00:00:00 2001
From: Evan Gates <evan.gates@gmail.com>
Date: Wed, 16 Dec 2020 10:52:08 -0800
Subject: [PATCH] broadcom-wl-dkms: add linux-5.9.patch

Linux 5.9 broke broadcom-wl-dkms.  Add patch[0] from archlinux package
to fix.

[0] https://raw.githubusercontent.com/archlinux/svntogit-community/packages/broadcom-wl-dkms/trunk/011-linux59.patch
---
 .../broadcom-wl-dkms/patches/linux-5.9.patch  | 36 +++++++++++++++++++
 srcpkgs/broadcom-wl-dkms/template             |  2 +-
 2 files changed, 37 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/broadcom-wl-dkms/patches/linux-5.9.patch

diff --git a/srcpkgs/broadcom-wl-dkms/patches/linux-5.9.patch b/srcpkgs/broadcom-wl-dkms/patches/linux-5.9.patch
new file mode 100644
index 00000000000..c0af5c181dd
--- /dev/null
+++ b/srcpkgs/broadcom-wl-dkms/patches/linux-5.9.patch
@@ -0,0 +1,36 @@
+diff -u -r src/wl/sys/wl_cfg80211_hybrid.c src/wl/sys/wl_cfg80211_hybrid.c
+--- src/wl/sys/wl_cfg80211_hybrid.c	2015-09-18 22:47:30.000000000 +0000
++++ src/wl/sys/wl_cfg80211_hybrid.c	2020-10-12 21:20:05.200372484 +0000
+@@ -450,7 +450,7 @@
+ 	ifr.ifr_data = (caddr_t)&ioc;
+ 
+ 	fs = get_fs();
+-	set_fs(get_ds());
++	set_fs(KERNEL_DS);
+ #if defined(WL_USE_NETDEV_OPS)
+ 	err = dev->netdev_ops->ndo_do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
+ #else
+diff -u -r src/wl/sys/wl_iw.c src/wl/sys/wl_iw.c
+--- src/wl/sys/wl_iw.c	2015-09-18 22:47:30.000000000 +0000
++++ src/wl/sys/wl_iw.c	2020-10-12 21:19:51.426836804 +0000
+@@ -117,7 +117,7 @@
+ 	ifr.ifr_data = (caddr_t) &ioc;
+ 
+ 	fs = get_fs();
+-	set_fs(get_ds());
++	set_fs(KERNEL_DS);
+ #if defined(WL_USE_NETDEV_OPS)
+ 	ret = dev->netdev_ops->ndo_do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
+ #else
+diff -u -r src/wl/sys/wl_linux.c src/wl/sys/wl_linux.c
+--- src/wl/sys/wl_linux.c	2020-10-12 21:19:15.256305165 +0000
++++ src/wl/sys/wl_linux.c	2020-10-12 21:20:38.687530895 +0000
+@@ -1643,7 +1643,7 @@
+ 		goto done2;
+ 	}
+ 
+-	if (segment_eq(get_fs(), KERNEL_DS))
++	if (get_fs().seg == KERNEL_DS.seg)
+ 		buf = ioc.buf;
+ 
+ 	else if (ioc.buf) {
diff --git a/srcpkgs/broadcom-wl-dkms/template b/srcpkgs/broadcom-wl-dkms/template
index 43711032f87..59a0df64183 100644
--- a/srcpkgs/broadcom-wl-dkms/template
+++ b/srcpkgs/broadcom-wl-dkms/template
@@ -2,7 +2,7 @@
 
 pkgname=broadcom-wl-dkms
 version=6.30.223.271
-revision=9
+revision=10
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="custom:Proprietary Broadcom license"
 homepage="http://broadcom.com"

             reply	other threads:[~2020-12-16 18:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-16 18:54 deepcube [this message]
2020-12-17 13:53 ` ericonr
2020-12-17 17:42 ` deepcube
2020-12-17 18:01 ` ericonr
2020-12-17 18:01 ` [PR PATCH] [Merged]: " ericonr

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27202@inbox.vuxu.org \
    --to=deepcube@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).