Go to forlder /usr/src/nvidia-331.49-1.1/, open the file nv-linux.h.
look for the line #include
Hello,
In the Message;
Subject : [opensuse] Is there a patch for kernel 3.14.xx ? Message-ID : <533CF40A.7030601@iinet.net.au> Date & Time: Thu, 03 Apr 2014 16:39:22 +1100
Basil Chupin
has written: Is there a patch for kernel 3.14.x to be able to compile the nVidia driver 331.49 (on oS 13.1)?
patch for NVIDIA's driver;
diff -Naurp nvidia-331-331.38.orig/nv-linux.h nvidia-331-331.38/nv-linux.h --- a/kernel/nv-linux.h 2014-02-04 00:20:25.756253881 +0100 +++ b/kernel/nv-linux.h 2014-02-04 00:22:32.076257264 +0100 @@ -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 Regards,
--- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "Bill! You married with Computers. Not with Me!" "No..., with money." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable. There is another theory which states that this has already happened. -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org