diff options
Diffstat (limited to 'network/ndiswrapper-kernel/ndiswrapper-kernel.SlackBuild')
-rw-r--r-- | network/ndiswrapper-kernel/ndiswrapper-kernel.SlackBuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/network/ndiswrapper-kernel/ndiswrapper-kernel.SlackBuild b/network/ndiswrapper-kernel/ndiswrapper-kernel.SlackBuild index 13ae765ff5..b53c0b440f 100644 --- a/network/ndiswrapper-kernel/ndiswrapper-kernel.SlackBuild +++ b/network/ndiswrapper-kernel/ndiswrapper-kernel.SlackBuild @@ -78,6 +78,14 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Thanks to Andrey Utkin <andrey.krieger.utkin@gmail.com> for putting all +# of the necessary patches in one place +patch -p1 < $CWD/patches/0001-Use-KERNELRELEASE-as-target-kernel-version.patch +patch -p1 < $CWD/patches/0002-Add-support-for-kernel-3.9.patch +patch -p1 < $CWD/patches/0003-Add-support-for-3.x-kernel-versions.patch +patch -p1 < $CWD/patches/0004-Support-3.10-kernel-and-older-versions.patch +patch -p1 < $CWD/patches/0005-Fix-compilation-on-pre-3.9.patch + EXTRA_CFLAGS="$SLKCFLAGS" \ make -C driver KVERS=$KERNEL V=1 make install -C driver KVERS=$KERNEL DESTDIR=$PKG |