>>>>> "NB" == Nick Bailey <[EMAIL PROTECTED]> writes:
Hi Nick!
NB> Dear Anders,
NB> I saw your bug report at
NB> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=409204 and the fix, which
I
NB> am trying to apply so that I can evaluate a recent kernel.
NB> I have built the binary package using m-a i-a etc many times before, but I
NB> don't understand how I can stop the process at the right stage to apply
this
NB> patch.
NB> Since the bug has been extant for 135 days, I wonder if you would consider
NB> amplifying this for those of us less conversant with the module building
side
NB> of things, maybe by adding an additional post to this bug with the build
NB> instructions? I'm guessing there's a dpkg "only-unpack" -x/-b variant that
NB> could be used? This would be very helpful for those prepared to read
through
NB> the bug pages and act on them, but whose developer skills do not lie in
the
NB> kernel modules area.
NB> Thank you very much!
OK, first install nvidia-kernel-legacy-source:
As root:
# apt-get install nvidia-kernel-legacy-source
Then save my patch in a file. Use cut & paste from the bug report or
save the included attachment.
Lets call the file /tmp/nvidia-kernel-legacy-source.patch .
Then read the instructions in
/usr/share/doc/nvidia-kernel-legacy-source/README.Debian .
After step 1 in README.Debian, patch the source:
# cd /usr/src/modules/nvidia-kernel-legacy/nv
# patch -p1 </tmp/nvidia-kernel-legacy-source.patch
Then proceed with the remaining steps described in README.Debian.
/ Anders
--- /tmp/modules/nvidia-kernel-legacy/nv/nv-linux.h 2006-12-04
03:09:49.000000000 +0100
+++ nv/nv-linux.h 2007-01-30 00:21:53.000000000 +0100
@@ -14,7 +14,7 @@
#include "nv.h"
-#include <linux/config.h>
+#include <linux/autoconf.h>
#include <linux/version.h>
#include <linux/utsname.h>