The patch seems to be needed, when the modules have to be built for a kernel other than the currently running one.
I believe there where two typos in the patch:
It has to be "ifdef KVERREL" instead of "ifeq KVERREL" - module-assistant passes the kernel version as KVERREL in the same format as 'uname -r' would give for the running kernel.
Also KEVERREL doesn't seem to exist.
I have attached a debdiff that corrects these problems. I have verified that the modules build on a hardy test VM and that the KVERREL variable is used (instead of 'uname -r')
I have investigated the problem further:
The patch seems to be needed, when the modules have to be built for a kernel other than the currently running one.
I believe there where two typos in the patch:
It has to be "ifdef KVERREL" instead of "ifeq KVERREL" - module-assistant passes the kernel version as KVERREL in the same format as 'uname -r' would give for the running kernel.
Also KEVERREL doesn't seem to exist.
I have attached a debdiff that corrects these problems. I have verified that the modules build on a hardy test VM and that the KVERREL variable is used (instead of 'uname -r')
I will upload an updated version to my PPA.