nvidia: Add 4.2 patch
This commit is contained in:
parent
8e26a55dc4
commit
5056267761
@ -37,6 +37,8 @@ stdenv.mkDerivation {
|
|||||||
}
|
}
|
||||||
else throw "nvidia-x11 does not support platform ${stdenv.system}";
|
else throw "nvidia-x11 does not support platform ${stdenv.system}";
|
||||||
|
|
||||||
|
patches = [ ./nvidia-4.2.patch ];
|
||||||
|
|
||||||
inherit versionNumber libsOnly;
|
inherit versionNumber libsOnly;
|
||||||
inherit (stdenv) system;
|
inherit (stdenv) system;
|
||||||
|
|
||||||
|
26
pkgs/os-specific/linux/nvidia-x11/nvidia-4.2.patch
Normal file
26
pkgs/os-specific/linux/nvidia-x11/nvidia-4.2.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
diff --git a/kernel/nv-frontend.c b/kernel/nv-frontend.c
|
||||||
|
index 65bbb1b..be39c8d 100644
|
||||||
|
--- a/kernel/nv-frontend.c
|
||||||
|
+++ b/kernel/nv-frontend.c
|
||||||
|
@@ -15,7 +15,7 @@
|
||||||
|
#include "nv-frontend.h"
|
||||||
|
|
||||||
|
#if defined(MODULE_LICENSE)
|
||||||
|
-MODULE_LICENSE("NVIDIA");
|
||||||
|
+MODULE_LICENSE("GPL\0NVIDIA");
|
||||||
|
#endif
|
||||||
|
#if defined(MODULE_INFO)
|
||||||
|
MODULE_INFO(supported, "external");
|
||||||
|
diff --git a/kernel/nv.c b/kernel/nv.c
|
||||||
|
index abe81ed..05945b5 100644
|
||||||
|
--- a/kernel/nv.c
|
||||||
|
+++ b/kernel/nv.c
|
||||||
|
@@ -31,7 +31,7 @@
|
||||||
|
|
||||||
|
#if defined(NV_VMWARE) || (NV_BUILD_MODULE_INSTANCES != 0)
|
||||||
|
#if defined(MODULE_LICENSE)
|
||||||
|
-MODULE_LICENSE("NVIDIA");
|
||||||
|
+MODULE_LICENSE("GPL\0NVIDIA");
|
||||||
|
#endif
|
||||||
|
#if defined(MODULE_INFO)
|
||||||
|
MODULE_INFO(supported, "external");
|
Loading…
x
Reference in New Issue
Block a user