wok-4.x rev 7133

Up: broadcom-wl to 5.60.246.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Nov 05 18:27:04 2010 +0000 (2010-11-05)
parents 77ea57cee6ea
children 4e1c8501de53
files broadcom-wl/receipt broadcom-wl/stuff/semaphore.patch
line diff
     1.1 --- a/broadcom-wl/receipt	Fri Nov 05 15:49:10 2010 +0000
     1.2 +++ b/broadcom-wl/receipt	Fri Nov 05 18:27:04 2010 +0000
     1.3 @@ -1,11 +1,12 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="broadcom-wl"
     1.7 -VERSION="5.60.48.36"
     1.8 +VERSION="5.60.246.2"
     1.9  CATEGORY="network"
    1.10  MAINTAINER="jozee@slitaz.org"
    1.11  SHORT_DESC="Broadcom 802.11abg Linux STA Networking Drivers"
    1.12  DEPENDS="linux"
    1.13 +BUILD_DEPENDS="linux-module-headers"
    1.14  WEB_SITE="http://www.broadcom.com/support/802.11/linux_sta.php"
    1.15  TARBALL="hybrid-portsrc-x86_32-v${VERSION}.tar.gz"
    1.16  WGET_URL="http://www.broadcom.com/docs/linux_sta/$TARBALL"
    1.17 @@ -20,9 +21,8 @@
    1.18  	mv lib src Makefile $PACKAGE-$VERSION
    1.19  	cd $src
    1.20  	sed -i 's|linux/autoconf.h|generated/autoconf.h|' src/include/linuxver.h
    1.21 -	[ -d $WOK/linux/taz ] || tazwok cook linux
    1.22 -	KERNEL_VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
    1.23 -	KBUILD_NOPEDANTIC=1 make -C $WOK/linux/linux-$KERNEL_VERSION M=`pwd`
    1.24 +	patch -Np1 -i ../stuff/semaphore.patch
    1.25 +	KBUILD_NOPEDANTIC=1 make -C /usr/src/linux M=`pwd`
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/broadcom-wl/stuff/semaphore.patch	Fri Nov 05 18:27:04 2010 +0000
     2.3 @@ -0,0 +1,11 @@
     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>