wok-next rev 19730

Up broadcom-wl (6_30_223_271)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 25 18:41:21 2017 +0200 (2017-05-25)
parents ba8a49e07e68
children b30711bdbeb0
files broadcom-wl/receipt broadcom-wl/stuff/semaphore.patch tcc/receipt
line diff
     1.1 --- a/broadcom-wl/receipt	Thu May 25 17:40:18 2017 +0200
     1.2 +++ b/broadcom-wl/receipt	Thu May 25 18:41:21 2017 +0200
     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  }
     2.1 --- a/broadcom-wl/stuff/semaphore.patch	Thu May 25 17:40:18 2017 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,11 +0,0 @@
     2.4 -diff -aur bla/src/wl/sys/wl_iw.h bla.new/src/wl/sys/wl_iw.h
     2.5 ---- bla/src/wl/sys/wl_iw.h	2010-02-06 02:59:15.000000000 +0100
     2.6 -+++ bla.new/src/wl/sys/wl_iw.h	2010-08-07 23:17:35.368641722 +0200
     2.7 -@@ -15,6 +15,7 @@
     2.8 - #ifndef _wl_iw_h_
     2.9 - #define _wl_iw_h_
    2.10 - 
    2.11 -+#include <linux/semaphore.h>
    2.12 - #include <linux/wireless.h>
    2.13 - 
    2.14 - #include <typedefs.h>
     3.1 --- a/tcc/receipt	Thu May 25 17:40:18 2017 +0200
     3.2 +++ b/tcc/receipt	Thu May 25 18:41:21 2017 +0200
     3.3 @@ -7,7 +7,7 @@
     3.4  SHORT_DESC="Fast Tiny C Compiler."
     3.5  MAINTAINER="pascal.bellard@slitaz.org"
     3.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     3.7 -LICENSE="LGPL2.1"
     3.8 +LICENSE="LGPL2.1 MIT"
     3.9  WEB_SITE="http://bellard.org/tcc/"
    3.10  WGET_URL="http://repo.or.cz/tinycc.git/snapshot/$GITHASH.tar.gz"
    3.11  TAGS="compiler C assembler"