wok-next rev 19728

Up tcc (20170515)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 25 17:38:43 2017 +0200 (2017-05-25)
parents 8463a96c1226
children ba8a49e07e68
files tcc/receipt transfig/receipt
line diff
     1.1 --- a/tcc/receipt	Thu May 25 12:31:03 2017 +0200
     1.2 +++ b/tcc/receipt	Thu May 25 17:38:43 2017 +0200
     1.3 @@ -1,14 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="tcc"
     1.7 -VERSION="0.9.26"
     1.8 +GITHASH="307b7b183d4ee56e74090b0e525d6a587840e31f" # 15/5/2017
     1.9 +VERSION=${GITHASH:0:7}
    1.10  CATEGORY="development"
    1.11  SHORT_DESC="Fast Tiny C Compiler."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15  LICENSE="LGPL2.1"
    1.16  WEB_SITE="http://bellard.org/tcc/"
    1.17 -WGET_URL="http://download.savannah.nongnu.org/releases/tinycc/$TARBALL"
    1.18 +WGET_URL="http://repo.or.cz/tinycc.git/snapshot/$GITHASH.tar.gz"
    1.19  TAGS="compiler C assembler"
    1.20  #HOST_ARCH="i486 arm"
    1.21  
     2.1 --- a/transfig/receipt	Thu May 25 12:31:03 2017 +0200
     2.2 +++ b/transfig/receipt	Thu May 25 17:38:43 2017 +0200
     2.3 @@ -16,9 +16,11 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -	cd $src
     2.8 -	sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' ig2dev/dev/readpng.c
     2.9  	sed -i 's|/usr/local|/usr|' */*akefile
    2.10 +	# Update for libpng > 1.5
    2.11 +	sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' fig2dev/dev/readpng.c
    2.12 +	sed -i 's|info_ptr->valid|png_get_valid(png_ptr,info_ptr,PNG_INFO_gAMA)|' fig2dev/dev/readpng.c
    2.13 +	sed -i 's/png_ptr->gamma/png_gamma(png_ptr)/' fig2dev/dev/readpng.c
    2.14  	xmkmf &&
    2.15  	make Makefiles &&
    2.16  	make &&