Created attachment 398750 [details, diff] Replaces all occurences of strnicmp with strncasecmp When compiling the ndiswrapper kernel module on kernel 4 the above error occurs. This error can easily be fixed by replacing the strnicmp function with the strncasecmp function. The attached patch does that. It was tested on kernel 4.0.0-rc3 and seems to work fine.
For ease of integration in portage I have attached the ebuild and the patched file. Those files can be easily added to the portage tree. The patch comes from http://anonscm.debian.org/cgit/collab-maint/ndiswrapper.git/tree/debian/patches/Support-kernel-4.0.patch?id=fe307aab912c55fb357670e5e838c353712a689b
Created attachment 404480 [details] ebuild and files/*patch for easy tree integration
confirmed this but at : This is an stable amd64 chroot image (named amd64-stable_20150615-204131) at a hardened host acting as a tinderbox.
imported together with debian's patch for linux 4.2