nvidia: add patch for linux-6.0

This commit is contained in:
Andrew Benson 2022-10-14 21:16:19 -05:00
parent b4a3260bea
commit 778e7b75e6
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,10 @@
--- a/kernel/nvidia-drm/nvidia-drm-helper.h
+++ b/kernel/nvidia-drm/nvidia-drm-helper.h
@@ -108,6 +108,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
#include <drm/drm_crtc.h>
+#include <drm/drm_framebuffer.h>
#if defined(drm_for_each_plane)
#define nv_drm_for_each_plane(plane, dev) \

View File

@ -4,7 +4,7 @@ _desc="NVIDIA drivers for linux"
pkgname=nvidia
version=515.65.01
revision=1
revision=2
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="custom:NVIDIA Proprietary"
homepage="https://www.nvidia.com/en-us/drivers/unix/"
@ -106,6 +106,8 @@ do_extract() {
cd ${wrksrc}
./${_pkg}.run --extract-only
rm -f ${_pkg}.run
cd ${_pkg}
patch -Np1 < ${FILESDIR}/linux-6.0.patch
}
do_install() {