diff options
3 files changed, 30 insertions, 1 deletions
diff --git a/metadata/md5-cache/sys-kernel/nvidia-drivers-dkms-515.65.01 b/metadata/md5-cache/sys-kernel/nvidia-drivers-dkms-515.65.01 index 3af81249..1a596b2c 100644 --- a/metadata/md5-cache/sys-kernel/nvidia-drivers-dkms-515.65.01 +++ b/metadata/md5-cache/sys-kernel/nvidia-drivers-dkms-515.65.01 @@ -11,4 +11,4 @@ RDEPEND=sys-kernel/dkms !!sys-kernel/nvidia-drivers-dkms:390 !!sys-kernel/nvidia SLOT=515 SRC_URI=amd64? ( http://us.download.nvidia.com/XFree86/Linux-x86_64/515.65.01/NVIDIA-Linux-x86_64-515.65.01.run ) _eclasses_=desktop 22952d8f27cac191d75529d4c38e6bfa edos2unix 33e347e171066657f91f8b0c72ec8773 epatch 447396341f5f896d722e435a06f87a4f eqawarn c9847c43b3253a276ae2eabddedab3d7 estack 055c42df72f76a4f45ec92b35e83cd56 eutils 8f942ebdcf04334697649d4a0bf65a32 ltprune 97143780d341cc8d8f1d4c6187a36d29 multilib 5ca4e49abed8e3a2f7b56920eadee157 preserve-libs a8e50acee31b5759b4df1f7707cae54b strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 toolchain-funcs 441f754fd75cd4fd1fa06fbc17da6144 vcs-clean d271b7bc7e6a009758d7d4ef749174e3 wrapper 4a1902f969e5718126434fc35f3a0d9c -_md5_=2e033b56387302e1b49f1401d853c8f7 +_md5_=33daef83e73fe19b71f3d6e76b381549 diff --git a/sys-kernel/nvidia-drivers-dkms/files/515-kernel6.patch b/sys-kernel/nvidia-drivers-dkms/files/515-kernel6.patch new file mode 100644 index 00000000..71470fd0 --- /dev/null +++ b/sys-kernel/nvidia-drivers-dkms/files/515-kernel6.patch @@ -0,0 +1,28 @@ +diff -Nur a/kernel/nvidia-drm/nvidia-drm-helper.c b/kernel/nvidia-drm/nvidia-drm-helper.c +--- a/kernel/nvidia-drm/nvidia-drm-helper.c 2022-07-20 14:42:53.000000000 +0100 ++++ b/kernel/nvidia-drm/nvidia-drm-helper.c 2022-10-16 19:00:47.687049510 +0100 +@@ -41,6 +41,10 @@ + #include <drm/drm_atomic_uapi.h> + #endif + ++#if defined(NV_DRM_FRAMEBUFFER_GET_PRESENT) ++#include <drm/drm_framebuffer.h> ++#endif ++ + static void __nv_drm_framebuffer_put(struct drm_framebuffer *fb) + { + #if defined(NV_DRM_FRAMEBUFFER_GET_PRESENT) +diff -Nur a/kernel-open/nvidia-drm/nvidia-drm-helper.c b/kernel-open/nvidia-drm/nvidia-drm-helper.c +--- a/kernel-open/nvidia-drm/nvidia-drm-helper.c 2022-07-20 14:43:40.000000000 +0100 ++++ b/kernel-open/nvidia-drm/nvidia-drm-helper.c 2022-10-16 19:00:47.687049510 +0100 +@@ -41,6 +41,10 @@ + #include <drm/drm_atomic_uapi.h> + #endif + ++#if defined(NV_DRM_FRAMEBUFFER_GET_PRESENT) ++#include <drm/drm_framebuffer.h> ++#endif ++ + static void __nv_drm_framebuffer_put(struct drm_framebuffer *fb) + { + #if defined(NV_DRM_FRAMEBUFFER_GET_PRESENT) diff --git a/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-515.65.01.ebuild b/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-515.65.01.ebuild index cb40e068..4268b1bf 100644 --- a/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-515.65.01.ebuild +++ b/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-515.65.01.ebuild @@ -24,6 +24,7 @@ RDEPEND="${DEPEND} !!sys-kernel/nvidia-drivers-dkms:470" PATCHES=( + "${FILESDIR}"/515-kernel6.patch "${FILESDIR}"/dkms515.patch ) |