[nvidia-kmod] Patch for 6.12 kernel
by Leigh Scott
commit 008a188d8648d20aaed3c464ca72972142f97c6a
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Tue Nov 19 13:53:47 2024 +0000
Patch for 6.12 kernel
kernel-612_runtime_fix.patch | 14 ++++++++++++++
nvidia-kmod.spec | 7 ++++++-
2 files changed, 20 insertions(+), 1 deletion(-)
---
diff --git a/kernel-612_runtime_fix.patch b/kernel-612_runtime_fix.patch
new file mode 100644
index 0000000..5db0b94
--- /dev/null
+++ b/kernel-612_runtime_fix.patch
@@ -0,0 +1,14 @@
+diff -uNrp a/kernel/nvidia-drm/nvidia-drm-drv.c b/kernel/nvidia-drm/nvidia-drm-drv.c
+--- a/kernel/nvidia-drm/nvidia-drm-drv.c 2024-10-10 12:58:12.000000000 +0100
++++ b/kernel/nvidia-drm/nvidia-drm-drv.c 2024-11-19 13:34:31.798764897 +0000
+@@ -1711,6 +1711,10 @@ static const struct file_operations nv_d
+ .read = drm_read,
+
+ .llseek = noop_llseek,
++
++#if defined(FOP_UNSIGNED_OFFSET)
++ .fop_flags = FOP_UNSIGNED_OFFSET,
++#endif
+ };
+
+ static const struct drm_ioctl_desc nv_drm_ioctls[] = {
diff --git a/nvidia-kmod.spec b/nvidia-kmod.spec
index da45018..8a51d1e 100644
--- a/nvidia-kmod.spec
+++ b/nvidia-kmod.spec
@@ -12,13 +12,14 @@ Name: nvidia-kmod
Epoch: 3
Version: 565.57.01
# Taken over by kmodtool
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: NVIDIA display driver kernel module
License: Redistributable, no modification permitted
URL: https://www.nvidia.com/
Source11: nvidia-kmodtool-excludekernel-filterfile
Patch0: make_modeset_default.patch
+Patch1: kernel-612_runtime_fix.patch
ExclusiveArch: x86_64 aarch64
@@ -52,6 +53,7 @@ echo "Using original nvidia defaults"
echo "Set nvidia to fbdev=1 modeset=1"
%patch -P0 -p1
%endif
+%patch -P1 -p1
for kernel_version in %{?kernel_versions} ; do
cp -a kernel _kmod_build_${kernel_version%%___*}
@@ -86,6 +88,9 @@ done
%changelog
+* Tue Nov 19 2024 Leigh Scott <leigh123linux(a)gmail.com> - 3:565.57.01-2
+- Patch for 6.12 kernel
+
* Tue Oct 22 2024 Leigh Scott <leigh123linux(a)gmail.com> - 3:565.57.01-1
- Update to 565.57.01 beta
1 day, 23 hours
[telegram-desktop] Try to disable LTO for aarch64.
by Vasiliy Glazov
commit 9805b43c803835e104c74bc4116e6e8adf8b74ff
Author: Vasiliy Glazov <v.glazov(a)1440.space>
Date: Tue Nov 19 10:24:13 2024 +0300
Try to disable LTO for aarch64.
telegram-desktop.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index bb02265..e179c74 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -1,3 +1,7 @@
+%ifarch aarch64
+ %global _lto_cflags %nil
+%endif
+
# Telegram Desktop's constants...
%global appname tdesktop
2 days, 6 hours
[cairo-dock-freeworld] Update to the latest git (20241118git575a251)
by Mamoru Tasaka
commit 45a8f7cbf041432d85028bca0bbadda6b625860a
Author: Mamoru TASAKA <mtasaka(a)fedoraproject.org>
Date: Tue Nov 19 16:00:35 2024 +0900
Update to the latest git (20241118git575a251)
cairo-dock-freeworld.spec | 7 +++++--
sources | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/cairo-dock-freeworld.spec b/cairo-dock-freeworld.spec
index 1cd113b..47cdae8 100644
--- a/cairo-dock-freeworld.spec
+++ b/cairo-dock-freeworld.spec
@@ -4,8 +4,8 @@
%global plugin_least_ver 3.5.99
%global use_git 1
-%global gitdate 20241024
-%global githash 9f9421ee507515d5fe7241d28957be8772ee1161
+%global gitdate 20241118
+%global githash 575a2519b2e5733f325148bdce92b97288a4c09a
%global shorthash %(c=%{githash} ; echo ${c:0:7})
%global tarballver %{mainver}%{?use_git:-%{gitdate}git%{shorthash}}
@@ -185,6 +185,9 @@ install -cpm 644 \
%{_libdir}/%{name}/libgldi.so.3*
%changelog
+* Tue Nov 19 2024 Mamoru TASAKA <mtasaka(a)fedoraproject.org> - 3.5.99^20241118git575a251-1
+- Update to the latest git (20241118git575a251)
+
* Thu Oct 24 2024 Mamoru TASAKA <mtasaka(a)fedoraproject.org> - 3.5.99^20241024git9f9421e-1
- Update to the latest git (20241024git9f9421e)
diff --git a/sources b/sources
index 469c23b..d87fed7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cairo-dock-3.5.99-20241024git9f9421e.tar.gz) = a4bce16567cc658dc75093274dc48d89d4c28a29734f8188ffcc84843f23c5a96c98261202dc7d94952f7a0b922b1c4f47620ae6fb955cf82796ced5833ec260
+SHA512 (cairo-dock-3.5.99-20241118git575a251.tar.gz) = e51fc36205ef69e8c254bfb777e04d49b9d6e73363abf74aecddb8ce70d341710dbb35a6e7f0cd3e21871435f0cd497eb823d34a0bd8373e35fe03c2abc24cf9
2 days, 6 hours