wok rev 22363

efl, emacs, evas: giflib >= 5 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 21 17:10:37 2019 +0100 (2 weeks ago)
parents 37ffcac02372
children 0d7f8c6b67d1
files efl/receipt emacs/receipt evas/receipt
line diff
     1.1 --- a/efl/receipt	Thu Nov 21 14:29:57 2019 +0100
     1.2 +++ b/efl/receipt	Thu Nov 21 17:10:37 2019 +0100
     1.3 @@ -26,6 +26,10 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	# Update for giflib >= 5 api
     1.8 +	sed -i 's|DGifCloseFile.*gif|&,NULL|' \
     1.9 +		src/modules/evas/loaders/gif/evas_image_load_gif.c
    1.10 +	
    1.11  	autoreconf -v &&
    1.12  	ac_aux_dir=$src ./configure \
    1.13  		--disable-static \
     2.1 --- a/emacs/receipt	Thu Nov 21 14:29:57 2019 +0100
     2.2 +++ b/emacs/receipt	Thu Nov 21 17:10:37 2019 +0100
     2.3 @@ -23,6 +23,10 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 +	sed -i 's|EGifPutExtensionLast|EGifPutExtensionTrailer|' configure*
     2.8 +	sed -i 's|\(gif = fn_DGifOpen.*\));|\1,NULL);|' src/image.c
     2.9 +	sed -i 's|fn_DGifCloseFile (gif|&,NULL|' src/image.c
    2.10 +
    2.11  	# Gzip workaround in busybox
    2.12  	sed -i 's/${GZIP_PROG} -9n/${GZIP_PROG}/g' Makefile.in
    2.13  	sed -i 's/${GZIP_PROG} -9n/${GZIP_PROG}/g' leim/Makefile.in
     3.1 --- a/evas/receipt	Thu Nov 21 14:29:57 2019 +0100
     3.2 +++ b/evas/receipt	Thu Nov 21 17:10:37 2019 +0100
     3.3 @@ -22,6 +22,10 @@
     3.4  # Rules to configure and make the package.
     3.5  compile_rules()
     3.6  {
     3.7 +	# Update for giflib >= 5 api
     3.8 +	sed -i 's|DGifCloseFile(gif|&,NULL|' \
     3.9 +		src/modules/loaders/gif/evas_image_load_gif.c
    3.10 +
    3.11  	export CFLAGS="$CFLAGS -fvisibility=hidden"
    3.12  	export LDFLAGS="$LDFLAGS -fvisibility=hidden"
    3.13  	./configure \