wok-current rev 22362

imlib: giflib >= 5 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 21 14:29:57 2019 +0100 (2019-11-21)
parents dfabcdfe042c
children 11e446052847
files imlib/receipt
line diff
     1.1 --- a/imlib/receipt	Thu Nov 21 13:37:52 2019 +0100
     1.2 +++ b/imlib/receipt	Thu Nov 21 14:29:57 2019 +0100
     1.3 @@ -16,6 +16,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|DGifOpenFileHandle(fd|&,NULL|' */*.c
     1.9 +	sed -i 's|DGifCloseFile(gif|&,NULL|' */*.c
    1.10 +
    1.11  	./configure \
    1.12  		--prefix=/usr \
    1.13  		--sysconfdir=/etc \