Control: tags -1 + patch On Tue, 2012-11-06 at 16:25 +0100, Bastian Blank wrote: > ncpmount fails on current Debian kernels with: > | Cannot convert kernel release "3.6-trunk-amd64" to number > > It expects three digits, but this is not longer the case.
Attached is a patch, suitable for being dropped in debian/patches that short-circuits the test altogether. I haven't tested it because I haven't used IPX in a few years. -- -- arthur - adej...@debian.org - http://people.debian.org/~adejong --
Description: avoid doing a kernel version check to handle 3.x kernels This patch takes out the kernel version checks that were in place in ncpfs. The checks in place have some special handling for kernels older than 2.5.31. Since no-one is expected to use these old kernels any more it is easiest to remove the checks. Author: Arthur de Jong <adej...@debian.org> Bug-Debian: http://bugs.debian.org/692472 --- a/sutil/ncpm_common.c +++ b/sutil/ncpm_common.c @@ -244,6 +244,8 @@ static int load_ncpfs(void) #endif /* MOUNT2 */ static int getmountver(void) { +/* + Commented out because this is only useful for kernels before 2.5.31. struct utsname name; int maj, mid, rev; int ver; @@ -261,6 +263,7 @@ static int getmountver(void) { return 3; if (ver < 0x2051F) return 4; +*/ return 5; }
signature.asc
Description: This is a digitally signed message part