# HG changeset patch # User Pascal Bellard # Date 1299148014 -3600 # Node ID efa1668c764194f6ddc9e378f6ab2719081f9195 # Parent 9b5506eda0cdbc2decce22ac676e64f6f78354ef dahdi-linux: kernel 2.6.37 fix diff -r 9b5506eda0cd -r efa1668c7641 dahdi-linux/receipt --- a/dahdi-linux/receipt Thu Mar 03 04:51:31 2011 +0000 +++ b/dahdi-linux/receipt Thu Mar 03 11:26:54 2011 +0100 @@ -16,6 +16,8 @@ { cd $src sed -i 's/tar -xof/tar -xf/' drivers/dahdi/firmware/Makefile + find -type f | xargs sed -i -e 's/DECLARE_MUTEX/DEFINE_SEMAPHORE/g' \ + -e 's/init_MUTEX/sema_init/g' [ -d $WOK/linux/taz ] || tazwok cook linux make KSRC=$WOK/linux/$(ls $WOK/linux/taz) install }