On Sat, 07 Sep 2013 22:50:38 +0100 Sid Boyce wrote:
The usual way is "sh NVIDIA-Linux-x86_64-325.15.run --apply-platch <patch_name>" which should generate a modified .run package, except when I tried it earlier it failed. From the posting on https://devtalk.nvidia.com/default/topic/549208/patch-for-325-08-on-linux-3-... it seems you have to extract the archive and apply the patch.
Once it's patched on one box, you can replace nv-linux.h on other boxes in the extracted archives.
# sh NVIDIA-Linux-x86_64-325.15.run --apply-patch nvidia_3.11.diff Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 325.15....................................................................................................................................................................... can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: NVIDIA-Linux-x86_64-325.15/kernel/nv-linux.h |=================================================================== |--- NVIDIA-Linux-x86_64-325.15.orig/kernel/nv-linux.h |+++ NVIDIA-Linux-x86_64-325.15/kernel/nv-linux.h -------------------------- File to patch:
As Cristian said before:
This is a plain old source code patch, not a patch against the compressed .run archive..
you have to -x the .run archive and then apply the patch to the sources.
-- WBR Kyrill