summaryrefslogtreecommitdiff
path: root/network/ndiswrapper-kernel/ndiswrapper-kernel.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2013-11-03 10:45:00 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-11-03 11:12:15 -0600
commit14428f0756c6cb532756f34dd14eef9f14b78e1a (patch)
treefc39ea652c44431a67e6e688ba7014bf1b10ecbd /network/ndiswrapper-kernel/ndiswrapper-kernel.SlackBuild
parent518cd3e68ac7baac792bec0ad0609830e72b6fdd (diff)
downloadslackbuilds-14428f0756c6cb532756f34dd14eef9f14b78e1a.tar.gz
network/ndiswrapper-kernel: Included some patches for 3.8-3.10.x
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/ndiswrapper-kernel/ndiswrapper-kernel.SlackBuild')
-rw-r--r--network/ndiswrapper-kernel/ndiswrapper-kernel.SlackBuild8
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