diff --git a/packages/x11/driver/xf86-video-nvidia/patches/xf86-video-nvidia-01-kernel-3.14.patch b/packages/x11/driver/xf86-video-nvidia/patches/xf86-video-nvidia-01-kernel-3.14.patch new file mode 100644 index 0000000000..d426761e27 --- /dev/null +++ b/packages/x11/driver/xf86-video-nvidia/patches/xf86-video-nvidia-01-kernel-3.14.patch @@ -0,0 +1,16 @@ +diff --git a/kernel/nv-linux.h b/kernel/nv-linux.h +index 801c88c..78f8889 100644 +--- a/kernel/nv-linux.h ++++ b/kernel/nv-linux.h +@@ -268,6 +268,11 @@ extern int nv_pat_mode; + #if !defined(NV_VMWARE) && defined(CONFIG_ACPI) + #include + #include ++ ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) ++#include ++#endif ++ + #if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID) + #define NV_LINUX_ACPI_EVENTS_SUPPORTED 1 + #endif