mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/nvidia-kernel: Updated for version 515.76.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
c6b8cacaa8
commit
35247c64f8
3 changed files with 5 additions and 23 deletions
|
@ -1,15 +0,0 @@
|
|||
diff -Nur kernel.orig/nvidia-drm/nvidia-drm-helper.h kernel/nvidia-drm/nvidia-drm-helper.h
|
||||
--- a/kernel/nvidia-drm/nvidia-drm-helper.h 2022-07-20 09:42:52.000000000 -0400
|
||||
+++ b/kernel/nvidia-drm/nvidia-drm-helper.h 2022-09-07 20:36:36.725936810 -0400
|
||||
@@ -109,6 +109,11 @@
|
||||
*/
|
||||
#include <drm/drm_crtc.h>
|
||||
|
||||
+#include <linux/version.h>
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 0, 0))
|
||||
+#include <drm/drm_framebuffer.h>
|
||||
+#endif
|
||||
+
|
||||
#if defined(drm_for_each_plane)
|
||||
#define nv_drm_for_each_plane(plane, dev) \
|
||||
drm_for_each_plane(plane, dev)
|
|
@ -29,8 +29,8 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=nvidia-kernel
|
||||
VERSION=${VERSION:-515.65.01}
|
||||
BUILD=${BUILD:-3}
|
||||
VERSION=${VERSION:-515.76}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -85,9 +85,6 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Patch for 6.0 kernel:
|
||||
patch -p1 < $CWD/nvidia-kernel-6.0.patch
|
||||
|
||||
(cd kernel || exit 1
|
||||
|
||||
# CC=${CC:-gcc} suppresses an otherwise harmless "compiler mismatch"
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="nvidia-kernel"
|
||||
VERSION="515.65.01"
|
||||
VERSION="515.76"
|
||||
HOMEPAGE="http://www.nvidia.com"
|
||||
DOWNLOAD="UNSUPPORTED"
|
||||
MD5SUM=""
|
||||
DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/515.65.01/NVIDIA-Linux-x86_64-515.65.01.run"
|
||||
MD5SUM_x86_64="f6b65ce83a18f224c493e58bcbe06672"
|
||||
DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/515.76/NVIDIA-Linux-x86_64-515.76.run"
|
||||
MD5SUM_x86_64="1e740900bf47cf4574e95702125f1898"
|
||||
REQUIRES=""
|
||||
MAINTAINER="Lenard Spencer"
|
||||
EMAIL="lenardrspencer@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue