summaryrefslogtreecommitdiff
path: root/network/ndiswrapper/ndiswrapper.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/ndiswrapper/ndiswrapper.SlackBuild')
-rw-r--r--network/ndiswrapper/ndiswrapper.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/ndiswrapper/ndiswrapper.SlackBuild b/network/ndiswrapper/ndiswrapper.SlackBuild
index fd7a6834d1..006ce7c8e6 100644
--- a/network/ndiswrapper/ndiswrapper.SlackBuild
+++ b/network/ndiswrapper/ndiswrapper.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=ndiswrapper
VERSION=${VERSION:-1.56}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -75,6 +75,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Thanks to Gentoo for the patchset
+for i in $CWD/patches/*.patch; do patch -p1 < $i ; done
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make KVERS=$KERNEL