wok diff electricsheep/receipt @ rev 20250

firefox: force 32 bits arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 16:48:27 2018 +0100 (2018-03-12)
parents 7896f0694ef6
children 22980cdd8a20
line diff
     1.1 --- a/electricsheep/receipt	Sat Aug 10 21:12:16 2013 +0000
     1.2 +++ b/electricsheep/receipt	Mon Mar 12 16:48:27 2018 +0100
     1.3 @@ -16,7 +16,6 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8  	sed -i	-e 's/CODEC_TYPE_VIDEO/AVMEDIA_TYPE_VIDEO/' \
     1.9  		-e 's/guess_format/av_guess_format/' \
    1.10  		-e 's/PKT_FLAG_KEY/AV_PKT_FLAG_KEY/' \
    1.11 @@ -26,6 +25,9 @@
    1.12  		-e 's/av\(_write_header(output_ctx\)/avformat\1, NULL/' \
    1.13  		-e 's/av_alloc_format_context/avformat_alloc_context/' \
    1.14  		-e '/GNOME_SCREENSAVER/d' \
    1.15 +		-e 's/av_new_stream(output_ctx, /avformat_new_stream(output_ctx, NULL); st->id = (/' \
    1.16 +		-e 's/av_close_input_file(/avformat_close_input(\&/' \
    1.17 +		-e 's/av_find_stream_info(ictx/avformat_find_stream_info(ictx,NULL/' \
    1.18  			electricsheep.c
    1.19  	mkdir -p $DESTDIR/usr/share/gconf/defaults
    1.20  	sed -i	-e '/update-gconf-defaults/d' \
    1.21 @@ -47,4 +49,3 @@
    1.22  	rm -r $fs/usr/share/man
    1.23  	rm $fs/usr/share/electricsheep/electricsheep-wait.avi
    1.24  }
    1.25 -