wok rev 13622

cherokee: update deprecated symbols of ffmpeg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 13 15:44:04 2012 +0100 (2012-11-13)
parents 4c6d2808b7a9
children 044c9f323813
files cherokee/receipt
line diff
     1.1 --- a/cherokee/receipt	Tue Nov 13 15:37:43 2012 +0100
     1.2 +++ b/cherokee/receipt	Tue Nov 13 15:44:04 2012 +0100
     1.3 @@ -16,6 +16,10 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	
     1.8 +	# Update deprecated symbols of ffmpeg
     1.9 +	sed -i 's|hdl->avformat->file_size|avio_size(hdl->avformat)|' cherokee/handler_streaming.c
    1.10 +	
    1.11  	# Use subdirectory for logs
    1.12  	sed -i -r 's|(%localstatedir%/log)|\1/cherokee|' cherokee.conf.sample.pre
    1.13