mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
nvidia: add patch for linux-6.0
This commit is contained in:
parent
b4a3260bea
commit
778e7b75e6
2 changed files with 13 additions and 1 deletions
10
srcpkgs/nvidia/files/linux-6.0.patch
Normal file
10
srcpkgs/nvidia/files/linux-6.0.patch
Normal 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) \
|
|
@ -4,7 +4,7 @@ _desc="NVIDIA drivers for linux"
|
||||||
|
|
||||||
pkgname=nvidia
|
pkgname=nvidia
|
||||||
version=515.65.01
|
version=515.65.01
|
||||||
revision=1
|
revision=2
|
||||||
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
||||||
license="custom:NVIDIA Proprietary"
|
license="custom:NVIDIA Proprietary"
|
||||||
homepage="https://www.nvidia.com/en-us/drivers/unix/"
|
homepage="https://www.nvidia.com/en-us/drivers/unix/"
|
||||||
|
@ -106,6 +106,8 @@ do_extract() {
|
||||||
cd ${wrksrc}
|
cd ${wrksrc}
|
||||||
./${_pkg}.run --extract-only
|
./${_pkg}.run --extract-only
|
||||||
rm -f ${_pkg}.run
|
rm -f ${_pkg}.run
|
||||||
|
cd ${_pkg}
|
||||||
|
patch -Np1 < ${FILESDIR}/linux-6.0.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue