nvidia-x11: patch for kernel 3.14 support
This commit is contained in:
parent
50b1a8ea0b
commit
5a3fa7f88f
|
@ -21,6 +21,8 @@ stdenv.mkDerivation {
|
|||
|
||||
builder = ./builder.sh;
|
||||
|
||||
patches = optional (kernel ? version && versionAtLeast kernel.version "3.14") ./kernel-3.14.patch;
|
||||
|
||||
src =
|
||||
if stdenv.system == "i686-linux" then
|
||||
fetchurl {
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
--- a/kernel/nv-linux.h 2014-01-09 04:49:25.000000000 +0200
|
||||
+++ b/kernel/nv-linux.h 2014-02-05 16:46:55.552408568 +0200
|
||||
@@ -273,8 +273,7 @@
|
||||
#endif
|
||||
|
||||
#if !defined(NV_VMWARE) && defined(CONFIG_ACPI)
|
||||
-#include <acpi/acpi.h>
|
||||
-#include <acpi/acpi_drivers.h>
|
||||
+#include <linux/acpi.h>
|
||||
#if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID)
|
||||
#define NV_LINUX_ACPI_EVENTS_SUPPORTED 1
|
||||
#endif
|
Loading…
Reference in New Issue