vapier      14/04/08 20:02:47

  Added:                nvidia-drivers-334.21-linux-3.14.patch
  Log:
  Add patch to fix building w/linux-3.14 #506466 by tman. Also switch over to 
default unpack from unpacker eclass.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
D2E96200)

Revision  Changes    Path
1.1                  
x11-drivers/nvidia-drivers/files/nvidia-drivers-334.21-linux-3.14.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/nvidia-drivers/files/nvidia-drivers-334.21-linux-3.14.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/nvidia-drivers/files/nvidia-drivers-334.21-linux-3.14.patch?rev=1.1&content-type=text/plain

Index: nvidia-drivers-334.21-linux-3.14.patch
===================================================================
--- a/kernel/nv-linux.h
+++ b/kernel/nv-linux.h
@@ -273,8 +273,12 @@
 #endif
 
 #if !defined(NV_VMWARE) && defined(CONFIG_ACPI)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0)
 #include <acpi/acpi.h>
 #include <acpi/acpi_drivers.h>
+#else
+#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




Reply via email to