wok-6.x rev 8992

dahdi-linux: kernel 2.6.37 fix (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 11:39:09 2011 +0100 (2011-03-03)
parents efa1668c7641
children e8b87b9efb7d
files dahdi-linux/receipt
line diff
     1.1 --- a/dahdi-linux/receipt	Thu Mar 03 11:26:54 2011 +0100
     1.2 +++ b/dahdi-linux/receipt	Thu Mar 03 11:39:09 2011 +0100
     1.3 @@ -17,7 +17,7 @@
     1.4  	cd $src
     1.5  	sed -i 's/tar -xof/tar -xf/' drivers/dahdi/firmware/Makefile
     1.6  	find -type f | xargs sed -i -e 's/DECLARE_MUTEX/DEFINE_SEMAPHORE/g' \
     1.7 -		-e 's/init_MUTEX/sema_init/g'
     1.8 +		-e 's/init_MUTEX\([^)]*\)/sema_init\1, 1/g'
     1.9  	[ -d $WOK/linux/taz ] || tazwok cook linux
    1.10  	make KSRC=$WOK/linux/$(ls $WOK/linux/taz) install
    1.11  }