wok-next diff broadcom-wl/receipt @ rev 19766

Up cookutils.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jun 12 11:40:38 2017 +0300 (2017-06-12)
parents 86d61e110274
children d247e85339a4
line diff
     1.1 --- a/broadcom-wl/receipt	Sat Dec 05 16:17:00 2015 +0200
     1.2 +++ b/broadcom-wl/receipt	Mon Jun 12 11:40:38 2017 +0300
     1.3 @@ -1,14 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="broadcom-wl"
     1.7 -VERSION="5_100_82_112"
     1.8 +VERSION="6_30_223_271"
     1.9  CATEGORY="network"
    1.10  MAINTAINER="jozee@slitaz.org"
    1.11  LICENSE="other"
    1.12  SHORT_DESC="Broadcom 802.11abg Linux STA Networking Drivers"
    1.13  WEB_SITE="http://www.broadcom.com/support/802.11/linux_sta.php"
    1.14 -TARBALL="hybrid-portsrc_x86_32-v${VERSION}.tar.gz"
    1.15 -WGET_URL="http://www.broadcom.com/docs/linux_sta/$TARBALL"
    1.16 +TARBALL="hybrid-v35-nodebug-pcoem-$VERSION.tar.gz"
    1.17 +WGET_URL="https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/$TARBALL"
    1.18  TAGS="wireless wifi driver"
    1.19  
    1.20  DEPENDS="linux"
    1.21 @@ -17,9 +17,8 @@
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -	sed -i 's|ndo_set_multicast_list|ndo_set_rx_mode|' src/wl/sys/wl_linux.c
    1.26 -	sed -i 's|linux/autoconf.h|generated/autoconf.h|' src/include/linuxver.h
    1.27 -	patch -Np1 -i $stuff/semaphore.patch
    1.28 +	sed -i 's/IEEE80211_BAND_/NL80211_BAND_/g' src/wl/sys/wl_cfg80211_hybrid.c
    1.29 +	sed -i 's/rdtscl(cycles)/cycles = (u32)rdtsc()/' src/shared/linux_osl.c # for kernel > 4.3.0
    1.30  	KBUILD_NOPEDANTIC=1 make -C /usr/src/linux M=`pwd`
    1.31  	xz wl.ko
    1.32  }