diff options
author | Andreas Voegele <andreas@andreasvoegele.com> | 2018-05-23 00:38:22 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-05-26 06:59:24 +0700 |
commit | a524c290c2f657b241780d70b7026fbe4096fa61 (patch) | |
tree | 7739c443ca4bea503719eb1c7753b8814195ca7a /network/broadcom-sta/broadcom-sta.SlackBuild | |
parent | 875ec0311b6615e3a7014c50a1a55f885d47d47a (diff) |
network/broadcom-sta: Updated for Linux kernel 4.16.
Older kernel versions are still supported.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/broadcom-sta/broadcom-sta.SlackBuild')
-rw-r--r-- | network/broadcom-sta/broadcom-sta.SlackBuild | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/network/broadcom-sta/broadcom-sta.SlackBuild b/network/broadcom-sta/broadcom-sta.SlackBuild index 954f22759e10e..dc29347d46754 100644 --- a/network/broadcom-sta/broadcom-sta.SlackBuild +++ b/network/broadcom-sta/broadcom-sta.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for broadcom-sta -# Copyright 2015-2017 Andreas Voegele <andreas@andreasvoegele.com> +# Copyright 2015-2018 Andreas Voegele <andreas@andreasvoegele.com> # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -18,7 +18,7 @@ PRGNAM=broadcom-sta VERSION=${VERSION:-6.30.223.271} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} KERNEL=${KERNEL:-$( uname -r )} @@ -70,13 +70,21 @@ if [ "$IFNAME" != "eth" ]; then sed -i "/BRCM_WLAN_IFNAME/s/eth/$IFNAME/" src/wl/sys/wl_linux.c fi -patch -p1 < $CWD/001-null-pointer-fix.patch -patch -p1 < $CWD/002-rdtscl.patch +patch -p2 < $CWD/patches/04-user_ioctl.patch +patch -p2 < $CWD/patches/05-remove-time-and-date-macros.patch +patch -p2 < $CWD/patches/13-broadcom-sta-6.30.223.248-linux-3.18-null-pointer-crash.patch +patch -p2 < $CWD/patches/14-rdtscl.patch +#patch -p2 < $CWD/patches/15-linux47.patch if [ -n "${KERNEL##[23].*}" -a -n "${KERNEL##4.[0-6].*}" ]; then sed -i.orig 's/IEEE80211_BAND_\([25]\)GHZ/NL80211_BAND_\1GHZ/g' \ src/wl/sys/wl_cfg80211_hybrid.c fi -patch -p1 < $CWD/linux48.patch +patch -p2 < $CWD/patches/16-linux48.patch +patch -p2 < $CWD/patches/17-fix-kernel-warnings.patch +patch -p2 < $CWD/patches/18-linux411.patch +patch -p2 < $CWD/patches/19-linux412.patch +patch -p2 < $CWD/patches/20-linux414.patch +patch -p2 < $CWD/patches/21-linux415.patch env -u ARCH make -C /lib/modules/$KERNEL/build M=$(pwd) clean env -u ARCH make -C /lib/modules/$KERNEL/build M=$(pwd) |