OK, patch *does* work for me, when applied against the expanded "run"
file. I was trying to apply the patch against the compressed "run" file
and it fails but a small change is required to successfully apply the
patch.
proposed patch:
--- a/kernel/nv-linux.h 2014-02-13 04:57:14.000000000 +0100
+++ b/kernel/nv-linux.h 2014-04-03 11:27:14.888851657 +0200
@@ -266,8 +266,7 @@
#endif
#if !defined(NV_VMWARE) && defined(CONFIG_ACPI)
-#include
-#include
+#include
#if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID)
#define NV_LINUX_ACPI_EVENTS_SUPPORTED 1
#endif
works on expanded driver.
following creates NVIDIA-Linux-x86_64-331.49-custom.run
(corrected file-path)
--- a./kernel/nv-linux.h 2014-02-13 04:57:14.000000000 +0100
+++ b./kernel/nv-linux.h 2014-04-03 11:27:14.888851657 +0200
@@ -266,8 +266,7 @@
#endif
#if !defined(NV_VMWARE) && defined(CONFIG_ACPI)
-#include
-#include
+#include
#if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID)
#define NV_LINUX_ACPI_EVENTS_SUPPORTED 1
#endif
sh NVIDIA-Linux-x86_64-331.49-custom.run --apply-patch <patch-name>
--
(paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri
http://en.opensuse.org openSUSE Community Member facebook/ptilopteri
http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535 @ http://linuxcounter.net
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-factory+owner@opensuse.org