diff -Nru ndiswrapper-1.57/debian/changelog ndiswrapper-1.57/debian/changelog --- ndiswrapper-1.57/debian/changelog 2012-03-05 16:49:17.000000000 +0100 +++ ndiswrapper-1.57/debian/changelog 2012-03-14 00:19:01.000000000 +0100 @@ -1,3 +1,10 @@ +ndiswrapper (1.57-1kanotix1) unstable; urgency=low + + * patches/kernel-3-userspace-support.patch: Allow kernel 3.0+ + * Fix debian/ndiswrapper-dkms.dkms.in + + -- Joerg Schirottke Wed, 14 Mar 2012 00:16:51 +0100 + ndiswrapper (1.57-1) unstable; urgency=low * Imported Upstream version 1.57 diff -Nru ndiswrapper-1.57/debian/ndiswrapper-dkms.dkms.in ndiswrapper-1.57/debian/ndiswrapper-dkms.dkms.in --- ndiswrapper-1.57/debian/ndiswrapper-dkms.dkms.in 2012-03-05 16:49:17.000000000 +0100 +++ ndiswrapper-1.57/debian/ndiswrapper-dkms.dkms.in 2012-03-01 13:02:50.000000000 +0100 @@ -1,4 +1,6 @@ PACKAGE_NAME="ndiswrapper" PACKAGE_VERSION="@VERSION@" +MAKE[0]="make KVERS=${kernelver}" +BUILT_MODULE_NAME="ndiswrapper" DEST_MODULE_LOCATION[0]="/updates" AUTOINSTALL="yes" diff -Nru ndiswrapper-1.57/debian/patches/kernel-3-userspace-support.patch ndiswrapper-1.57/debian/patches/kernel-3-userspace-support.patch --- ndiswrapper-1.57/debian/patches/kernel-3-userspace-support.patch 1970-01-01 01:00:00.000000000 +0100 +++ ndiswrapper-1.57/debian/patches/kernel-3-userspace-support.patch 2012-03-14 00:13:16.000000000 +0100 @@ -0,0 +1,11 @@ +--- a/utils/ndiswrapper ++++ b/utils/ndiswrapper +@@ -55,7 +55,7 @@ + + my $modconf; + if (`uname -r` =~ /(\d+)\.(\d+)\.(\d+)/) { +- if ($2 > 4) { ++ if (($2 > 4) || ($1 > 2)) { + if (-d "/etc/modprobe.d") { + $modconf = "/etc/modprobe.d/ndiswrapper.conf"; + } else { diff -Nru ndiswrapper-1.57/debian/patches/series ndiswrapper-1.57/debian/patches/series --- ndiswrapper-1.57/debian/patches/series 2012-03-05 16:49:17.000000000 +0100 +++ ndiswrapper-1.57/debian/patches/series 2012-03-14 00:13:49.000000000 +0100 @@ -1 +1,2 @@ ndiswrapper-harden.patch +kernel-3-userspace-support.patch