Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] tuxedo-drivers: fix building on kernel 6.10
@ 2024-07-31 12:25 dataCobra
  2024-07-31 18:59 ` newbluemoon
  2024-07-31 21:33 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: dataCobra @ 2024-07-31 12:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dataCobra/void-packages tuxedo
https://github.com/void-linux/void-packages/pull/51567

tuxedo-drivers: fix building on kernel 6.10
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - i686

@newbluemoon 

Added a patch from the AUR package which is maintained by a TuxedoComputers employee.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tuxedo-51567.patch --]
[-- Type: text/x-diff, Size: 1537 bytes --]

From 54236de2af9b2d214c4dc3784f892c9440225a51 Mon Sep 17 00:00:00 2001
From: dataCobra <datacobra@thinkbot.de>
Date: Wed, 31 Jul 2024 14:22:01 +0200
Subject: [PATCH] tuxedo-drivers: fix building on kernel 6.10

---
 srcpkgs/tuxedo-drivers/patches/kernel6.10.patch | 12 ++++++++++++
 srcpkgs/tuxedo-drivers/template                 |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/tuxedo-drivers/patches/kernel6.10.patch

diff --git a/srcpkgs/tuxedo-drivers/patches/kernel6.10.patch b/srcpkgs/tuxedo-drivers/patches/kernel6.10.patch
new file mode 100644
index 00000000000000..e3441403ed2192
--- /dev/null
+++ b/srcpkgs/tuxedo-drivers/patches/kernel6.10.patch
@@ -0,0 +1,12 @@
+--- a/src/clevo_acpi.c
++++ b/src/clevo_acpi.c
+@@ -248,7 +248,9 @@ static const struct acpi_device_id clevo_acpi_device_ids[] = {
+ static struct acpi_driver clevo_acpi_driver = {
+ 	.name = DRIVER_NAME,
+ 	.class = DRIVER_NAME,
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 10, 0)
+ 	.owner = THIS_MODULE,
++#endif
+ 	.ids = clevo_acpi_device_ids,
+ 	.flags = ACPI_DRIVER_ALL_NOTIFY_EVENTS,
+ 	.ops = {
diff --git a/srcpkgs/tuxedo-drivers/template b/srcpkgs/tuxedo-drivers/template
index d760bdc63e6c4f..e9ecb3e8f793a7 100644
--- a/srcpkgs/tuxedo-drivers/template
+++ b/srcpkgs/tuxedo-drivers/template
@@ -1,7 +1,7 @@
 # Template file for 'tuxedo-drivers'
 pkgname=tuxedo-drivers
 version=4.6.1
-revision=1
+revision=2
 depends="dkms"
 short_desc="TUXEDO hardware drivers"
 maintainer="newbluemoon <blaumolch@mailbox.org>"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tuxedo-drivers: fix building on kernel 6.10
  2024-07-31 12:25 [PR PATCH] tuxedo-drivers: fix building on kernel 6.10 dataCobra
@ 2024-07-31 18:59 ` newbluemoon
  2024-07-31 21:33 ` [PR PATCH] [Merged]: " classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: newbluemoon @ 2024-07-31 18:59 UTC (permalink / raw)
  To: ml

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

New comment by newbluemoon on void-packages repository

https://github.com/void-linux/void-packages/pull/51567#issuecomment-2261204364

Comment:
@dataCobra Thanks for pinging me. I guess they will release a new version with this fix shortly, but until then the patch should be fine; wasn't aware 6.10 was available already ;)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: tuxedo-drivers: fix building on kernel 6.10
  2024-07-31 12:25 [PR PATCH] tuxedo-drivers: fix building on kernel 6.10 dataCobra
  2024-07-31 18:59 ` newbluemoon
@ 2024-07-31 21:33 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2024-07-31 21:33 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

tuxedo-drivers: fix building on kernel 6.10
https://github.com/void-linux/void-packages/pull/51567

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - i686

@newbluemoon 

Added a patch from the AUR package which is maintained by a TuxedoComputers employee.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-31 21:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-31 12:25 [PR PATCH] tuxedo-drivers: fix building on kernel 6.10 dataCobra
2024-07-31 18:59 ` newbluemoon
2024-07-31 21:33 ` [PR PATCH] [Merged]: " classabbyamp

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).