wok-next diff transfig/receipt @ rev 19941
gst0-ffmpeg*: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 19:06:21 2017 +0200 (2017-10-15) |
parents | f7cf1ead56c0 |
children | 8d3183aefad5 |
line diff
1.1 --- a/transfig/receipt Wed Apr 26 12:04:09 2017 +0200 1.2 +++ b/transfig/receipt Sun Oct 15 19:06:21 2017 +0200 1.3 @@ -16,9 +16,11 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 - sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' ig2dev/dev/readpng.c 1.9 sed -i 's|/usr/local|/usr|' */*akefile 1.10 + # Update for libpng > 1.5 1.11 + sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' fig2dev/dev/readpng.c 1.12 + sed -i 's|info_ptr->valid|png_get_valid(png_ptr,info_ptr,PNG_INFO_gAMA)|' fig2dev/dev/readpng.c 1.13 + sed -i 's/png_ptr->gamma/png_gamma(png_ptr)/' fig2dev/dev/readpng.c 1.14 xmkmf && 1.15 make Makefiles && 1.16 make &&