xf86-video-nvidia: update to xf86-video-nvidia-331.67

This commit is contained in:
Stefan Saraev 2014-04-22 16:16:43 +03:00 committed by Stephan Raue
parent 9d438da095
commit 058c9ab61b
2 changed files with 1 additions and 17 deletions

View File

@ -17,7 +17,7 @@
################################################################################
PKG_NAME="xf86-video-nvidia"
PKG_VERSION="331.49"
PKG_VERSION="331.67"
PKG_REV="1"
PKG_ARCH="i386 x86_64"
PKG_LICENSE="nonfree"

View File

@ -1,16 +0,0 @@
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 <acpi/acpi.h>
#include <acpi/acpi_drivers.h>
+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
+#include <linux/acpi.h>
+#endif
+
#if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID)
#define NV_LINUX_ACPI_EVENTS_SUPPORTED 1
#endif