diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-03-25 19:27:59 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-25 23:26:50 -0500 |
commit | e9eea28ccecd20a97c24eee01cfb74bdd25b970f (patch) | |
tree | 24113322a2f5bd9d97a80cb3a4cf14dcdc62f4bb /network/ndiswrapper/ndiswrapper.SlackBuild | |
parent | c42b490bdecabc331d7f26565918fbc3b5b27c1e (diff) |
network/ndiswrapper: Fixed build on 2.6.3{5,6,7,8}.x kernels
Thanks to Gentoo for the set of patches.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/ndiswrapper/ndiswrapper.SlackBuild')
-rw-r--r-- | network/ndiswrapper/ndiswrapper.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/network/ndiswrapper/ndiswrapper.SlackBuild b/network/ndiswrapper/ndiswrapper.SlackBuild index fd7a6834d146e..006ce7c8e61e7 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 |