wok rev 21128
seamonkey: jpeg 9 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 20 23:48:26 2019 +0100 (2019-03-20) |
parents | 2564e55a310b |
children | e1edbbcc3859 |
files | seamonkey/receipt |
line diff
1.1 --- a/seamonkey/receipt Wed Mar 20 21:23:37 2019 +0100 1.2 +++ b/seamonkey/receipt Wed Mar 20 23:48:26 2019 +0100 1.3 @@ -20,6 +20,13 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 + sed -i -e 's|return true|return boolean(true)|' \ 1.8 + -e 's|return false|return boolean(false)|' \ 1.9 + mozilla/image/decoders/nsJPEGDecoder.cpp 1.10 + sed -i -e 's|return 1|return boolean(1)|' \ 1.11 + -e 's|\(jpeg_.*\)1)|\1boolean(1))|' \ 1.12 + mozilla/image/encoders/jpeg/nsJPEGEncoder.cpp 1.13 + 1.14 grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|' 1.15 cp -a $stuff/seamonkey.mozconfig $src/.mozconfig 1.16 cd $src