diff options
Diffstat (limited to 'network/broadcom-sta/broadcom-sta.SlackBuild')
-rw-r--r-- | network/broadcom-sta/broadcom-sta.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/network/broadcom-sta/broadcom-sta.SlackBuild b/network/broadcom-sta/broadcom-sta.SlackBuild index f9fc7e57d9..c6e96516b5 100644 --- a/network/broadcom-sta/broadcom-sta.SlackBuild +++ b/network/broadcom-sta/broadcom-sta.SlackBuild @@ -5,7 +5,7 @@ PRGNAM=broadcom-sta VERSION=5.100.82.38 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} KERNEL=${KERNEL:-$(uname -r)} @@ -42,6 +42,9 @@ mkdir -p $TMP $WORKDIR $PKG $OUTPUT cd $WORKDIR tar xvf $CWD/hybrid-portsrc_${MY_ARCH}-v$(printf $VERSION|tr . _).tar.gz +# Fix API change in newer kernels +patch -p1 < $CWD/wl_linux.c-semaphore.patch + # Build the module make -C /lib/modules/$KERNEL/build M=$WORKDIR clean make -C /lib/modules/$KERNEL/build M=$WORKDIR |